From: Pierre Gondois <pierre.gond...@arm.com> As part of the DynamicTablesPkg, add a generator creating a SSDT table describing a PCIe bus. This patch-set also adds new functions to generate AML bytecode in the AmlLib.
The changes can be seen at: https://github.com/PierreARM/edk2/tree/1781_Create_ssdt_pcie_generator_v1 The results of the CI can be seen at: https://github.com/tianocore/edk2/pull/1747 This patch-set is dependent over the following patch-sets: [PATCH v1 00/10] Various DynamicTablesPkg modifications https://edk2.groups.io/g/devel/message/76929 and: [PATCH v1 00/13] Create a SSDT CPU topology generator https://edk2.groups.io/g/devel/message/76941 Pierre Gondois (7): DynamicTablesPkg: AML Code generation for memory ranges DynamicTablesPkg: AML Code generation to create a named Package() DynamicTablesPkg: AML Code generation to create a named ResourceTemplate() DynamicTablesPkg: AML Code generation to add _PRT entries DynamicTablesPkg: Add AmlAttachNode() DynamicTablesPkg: Add Pci related objects DynamicTablesPkg: SSDT Pci express generator DynamicTablesPkg/DynamicTables.dsc.inc | 2 + DynamicTablesPkg/Include/AcpiTableGenerator.h | 5 + .../Include/ArmNameSpaceObjects.h | 78 + .../Include/Library/AmlLib/AmlLib.h | 430 +++++ .../AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 1417 +++++++++++++++++ .../AcpiSsdtPcieLibArm/SsdtPcieGenerator.h | 134 ++ .../Arm/AcpiSsdtPcieLibArm/SsdtPcieLibArm.inf | 32 + .../SsdtPcieOscTemplate.asl | 80 + .../Library/Common/AmlLib/Api/AmlApi.c | 36 + .../Common/AmlLib/CodeGen/AmlCodeGen.c | 320 ++++ .../AmlLib/CodeGen/AmlResourceDataCodeGen.c | 945 +++++++++++ .../ConfigurationManagerObjectParser.c | 28 +- 12 files changed, 3506 insertions(+), 1 deletion(-) create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.h create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieLibArm.inf create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieOscTemplate.asl -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#76958): https://edk2.groups.io/g/devel/message/76958 Mute This Topic: https://groups.io/mt/83735869/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-