public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Create a SSDT PCIe generator
@ 2021-10-11 16:45 PierreGondois
  2021-10-11 16:45 ` [PATCH v2 1/7] DynamicTablesPkg: AML Code generation for memory ranges PierreGondois
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: PierreGondois @ 2021-10-11 16:45 UTC (permalink / raw)
  To: devel, Sami Mujawar, Alexei Fedorov

From: Pierre Gondois <Pierre.Gondois@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_v2

v2:
The following patches were modified:
- DynamicTablesPkg: AML Code generation for memory ranges
- DynamicTablesPkg: SSDT Pci express generator
The other ones recevied a 'Reviewed-by' from Sami.

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           |  413 +++++
 .../AcpiSsdtPcieLibArm/SsdtPcieGenerator.c    | 1448 +++++++++++++++++
 .../AcpiSsdtPcieLibArm/SsdtPcieGenerator.h    |  138 ++
 .../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   |  943 +++++++++++
 .../ConfigurationManagerObjectParser.c        |   28 +-
 12 files changed, 3522 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-11 16:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-11 16:45 [PATCH v2 0/7] Create a SSDT PCIe generator PierreGondois
2021-10-11 16:45 ` [PATCH v2 1/7] DynamicTablesPkg: AML Code generation for memory ranges PierreGondois
2021-10-11 16:45 ` [PATCH v2 2/7] DynamicTablesPkg: AML Code generation to create a named Package() PierreGondois
2021-10-11 16:45 ` [PATCH v2 3/7] DynamicTablesPkg: AML Code generation to create a named ResourceTemplate() PierreGondois
2021-10-11 16:45 ` [PATCH v2 4/7] DynamicTablesPkg: AML Code generation to add _PRT entries PierreGondois
2021-10-11 16:45 ` [PATCH v2 5/7] DynamicTablesPkg: Add AmlAttachNode() PierreGondois
2021-10-11 16:45 ` [PATCH v2 6/7] DynamicTablesPkg: Add Pci related objects PierreGondois
2021-10-11 16:45 ` [PATCH v2 7/7] DynamicTablesPkg: SSDT Pci express generator PierreGondois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox