acrn-hypervisor/misc/config_tools/target/acpiparser
Junjie Mao ba02583f2d config_tools/acpiparser: port the ACPI module from BITS
This patch ports the ACPI parsing module from BITS (BIOS Implementation
Test Suite) in order to ease the access to ACPI tables during board XML
generation. This library allows accessing ACPI table fields as Python class
members, getting rid of hard coding or calculating offsets within tables.

Compared to the original library, this port makes the following changes.

 * Extract only the scripts and functions that contribute to ACPI parsing.
 * Separate the parser of each ACPI table into different files.
 * Read raw ACPI tables from Linux sysfs.
 * Adapt to Python 3.

Tracked-On: #5649
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-01-27 16:39:24 +08:00
..
__init__.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
_utils.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
apic.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
asf.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
bitfields.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
cdata.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
dmar.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
facp.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
rtct.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00
unpack.py config_tools/acpiparser: port the ACPI module from BITS 2021-01-27 16:39:24 +08:00