summaryrefslogtreecommitdiff
path: root/include/acpi.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename struct driver_d to driverSascha Hauer2023-01-101-2/+2
| | | | | | | | | | | The '_d' suffix was originally meant to distinguish barebox struct names from Linux struct names. struct driver doesn't exist in Linux, so we can rename it and remove the meaningless suffix. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221214123512.189688-4-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* acpi.h: add defines for adr_space and gasSteffen Trumtrar2022-01-101-0/+72
| | | | | | | | >From linux v5.15-rc1. Signed-off-by: Steffen Trumtrar <str@pengutronix.de> Link: https://lore.barebox.org/20220107134219.1031552-1-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* acpi: include missing header in <acpi.h>Ahmad Fatoum2020-02-101-0/+1
| | | | | | | | | | acpi_sigcmp defined in the header uses memcmp, but no included headers pull in memcmp, which can lead to compile errors in new code, depending on include order. Fix this. Reported-by: @healytpk, https://github.com/saschahauer/barebox/issues/7 Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bus: efi: add basic ACPI bus infrastructureAhmad Fatoum2019-12-091-0/+73
It makes sense to support some ACPI tables like the WDAT (Watchdog Action Table) in barebox. To facilitate this add a ACPI bus and the necessary bits to integrate ACPI tables into the barebox device/driver model as devices. These devices are identified by the four byte signature, which drivers can then match against and the system description table (SDT) of the device is then available as a device memory resource. Even without drivers, with this patch, devinfo and md can now be used to view the ACPI system description tables, which can be useful during UEFI payload development. Support for the ACPI Machine Language and ACPI 5.1 _DSD (Device Specific Data) is not implemented. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>