mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-02 20:35:32 +00:00
Object type codes are used to identify, as the name suggests, type of objects. Typical object types in AML include integers, strings, methods, devices, buffers, packages and operation regions. In DefExternal terms the object type codes help specify the type of the external objects so that an AML parser can parse the code without knowing the concrete definition of these objects. The per-device AML templates in board XMLs need DefExternal terms to declare the objects in other devices, as these templates are meant to be parsed and integrated separately. This patch adds a static method to object declaration classes to make it easier to generate such DefExternal terms for a given declaration. A complete definition of object type codes can be found in section 19.6.96 of ACPI specification 6.4. v1 -> v2: * Remove the object_type of FieldDecl and OperationFieldDecl as 0x5 is not a proper object type for buffer fields. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
aml | ||
__init__.py | ||
_utils.py | ||
apic.py | ||
asf.py | ||
dmar.py | ||
dsdt.py | ||
facp.py | ||
prt.py | ||
rdt.py | ||
rtct.py |