Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 7f1861be2b5e65a3dd840d77cd433f18992149c0 https://github.com/tianocore/edk2/commit/7f1861be2b5e65a3dd840d77cd433f18992149c0 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths: M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c Log Message: ----------- DynamicTablesPkg: AML Code generation for memory ranges Add helper functions to generate AML Resource Data describing memory ranges. Memory ranges can be one, double or four words long. They can be of 'normal', IO or bus number memory type. The following APIs are exposed: - AmlCodeGenRdDWordIo () - AmlCodeGenRdDWordMemory () - AmlCodeGenRdWordBusNumber () - AmlCodeGenRdQWordMemory () To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: 0e7147fe75e48862c236d11bcfc27dde8e3e8d89 https://github.com/tianocore/edk2/commit/0e7147fe75e48862c236d11bcfc27dde8e3e8d89 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c Log Message: ----------- DynamicTablesPkg: AML Code generation to create a named Package() Add AmlCodeGenNamePackage() to generate code for a Package(). AmlCodeGenNamePackage ("PACK", ParentNode, NewObjectNode) is equivalent of the following ASL code: Name(PACK, Package () {}) To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: fd5fc4bbb7b4f13d98a5c643776d92df39ecf49a https://github.com/tianocore/edk2/commit/fd5fc4bbb7b4f13d98a5c643776d92df39ecf49a Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c Log Message: ----------- DynamicTablesPkg: AML Code generation to create a named ResourceTemplate() Add AmlCodeGenNameResourceTemplate() to generate code for a ResourceTemplate(). AmlCodeGenNameResourceTemplate ("REST", ParentNode, NewObjectNode) is equivalent of the following ASL code: Name(REST, ResourceTemplate () {}) To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: b2b8def4e38a9b35ea0e466d7541f920c8d06678 https://github.com/tianocore/edk2/commit/b2b8def4e38a9b35ea0e466d7541f920c8d06678 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h M DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c Log Message: ----------- DynamicTablesPkg: AML Code generation to add _PRT entries _PRT entries can describe interrupt mapping for Pci devices. The object is described in ACPI 6.4 s6.2.13 "_PRT (PCI Routing Table)". Add AmlCodeGenPrtEntry() helper function to add _PRT entries to an existing _PRT object. To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: 69ddfee1c378650645fce5970ccb6577d43c4076 https://github.com/tianocore/edk2/commit/69ddfee1c378650645fce5970ccb6577d43c4076 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h M DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApi.c Log Message: ----------- DynamicTablesPkg: Add AmlAttachNode() This function allows to add a node as the last node of a parent node in an AML tree. For instance, ASL code corresponding to NewNode: Name (_UID, 0) ASL code corresponding to ParentNode: Device (PCI0) { Name(_HID, EISAID("PNP0A08")) } "AmlAttachNode (ParentNode, NewNode)" will result in: ASL code: Device (PCI0) { Name(_HID, EISAID("PNP0A08")) Name (_UID, 0) } To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: ce306e48eb72ce24f7cde791d756e1f6a5b0fdb5 https://github.com/tianocore/edk2/commit/ce306e48eb72ce24f7cde791d756e1f6a5b0fdb5 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/Include/ArmNameSpaceObjects.h M DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c Log Message: ----------- DynamicTablesPkg: Add Pci related objects Introduce the following CmObj in the ArmNameSpaceObjects: - CM_ARM_PCI_ADDRESS_MAP_INFO - CM_ARM_PCI_INTERRUPT_MAP_INFO These objects allow to describe address range mapping of Pci busses and interrupt mapping of Pci devices. To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: e35a746cf56420d22bcf2a838213379b9de27c7e https://github.com/tianocore/edk2/commit/e35a746cf56420d22bcf2a838213379b9de27c7e Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/DynamicTables.dsc.inc M DynamicTablesPkg/Include/AcpiTableGenerator.h A DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c A DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.h A DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieLibArm.inf A DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieOscTemplate.asl Log Message: ----------- DynamicTablesPkg: SSDT Pci express generator This generator allows to generate a SSDT table describing a Pci express Bus. It uses the following CmObj: - EArmObjCmRef - EArmObjPciConfigSpaceInfo - EArmObjPciAddressMapInfo - EArmObjPciInterruptMapInfo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3682 To: Sami Mujawar <sami.muja...@arm.com> To: Alexei Fedorov <alexei.fedo...@arm.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Commit: ec37fd9c1fbc6c14ad3291b415ad6677a022a554 https://github.com/tianocore/edk2/commit/ec37fd9c1fbc6c14ad3291b415ad6677a022a554 Author: Pierre Gondois <pierre.gond...@arm.com> Date: 2021-12-13 (Mon, 13 Dec 2021) Changed paths: M DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c Log Message: ----------- DynamicTablesPkg: Fix multiple objects parsing When a CmObjDesc contains multiple objects, only the first one is parsed as the buffer doesn't progress. Fix this. Also check that the whole buffer has been parsed with an asset. Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Compare: https://github.com/tianocore/edk2/compare/e07d27e24d5d...ec37fd9c1fbc _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits