TableHelperLib|DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf\r
\r
[Components.common]\r
+ #\r
+ # Generators\r
+ #\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiFadtLibArm/AcpiFadtLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/AcpiGtdtLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/AcpiIortLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/AcpiMadtLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiMcfgLibArm/AcpiMcfgLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiPpttLibArm/AcpiPpttLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiRawLibArm/AcpiRawLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/AcpiSpcrLibArm.inf\r
+ DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/AcpiSratLibArm.inf\r
+\r
#\r
# Dynamic Table Factory Dxe\r
#\r
## @file\r
# dec file for Dynamic Tables Framework.\r
#\r
-# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.<BR>\r
+# Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.<BR>\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
[Includes]\r
Include\r
\r
-[Protocols]\r
+[LibraryClasses]\r
+ ## @libraryclass Defines a set of helper methods.\r
+ TableHelperLib|Include/Library/TableHelperLib.h\r
\r
+[Protocols]\r
# Configuration Manager Protocol GUID\r
gEdkiiConfigurationManagerProtocolGuid = { 0xd85a4835, 0x5a82, 0x4894, { 0xac, 0x2, 0x70, 0x6f, 0x43, 0xd5, 0x97, 0x8e } }\r
\r
# Dsc file for Dynamic Tables Framework.\r
#\r
# Copyright (c) 2019, Linaro Limited. All rights reserved.<BR>\r
-# Copyright (c) 2019, ARM Limited. All rights reserved.<BR>\r
+# Copyright (c) 2019 - 2020, ARM Limited. All rights reserved.<BR>\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf\r
\r
[BuildOptions]\r
- *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
\r
!ifdef STATIC_ANALYSIS\r
# Check all rules\r
/** @file\r
\r
- Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.\r
+ Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
UINT32 NoOfPrivateResources;\r
/// Token of the array which contains references to the resources private to\r
/// this CM_ARM_PROC_HIERARCHY_INFO instance. This field is ignored if\r
- /// the NoOfPrivateResources is 0, in which case it is recomended to set\r
+ /// the NoOfPrivateResources is 0, in which case it is recommended to set\r
/// this field to CM_NULL_TOKEN.\r
CM_OBJECT_TOKEN PrivateResourcesArrayToken;\r
} CM_ARM_PROC_HIERARCHY_INFO;\r
/// PCI Bus Number - Max 256 busses (Bits 15:8 of BDF)\r
UINT8 BusNumber;\r
\r
- /// PCI Device Mumber - Max 32 devices (Bits 7:3 of BDF)\r
+ /// PCI Device Number - Max 32 devices (Bits 7:3 of BDF)\r
UINT8 DeviceNumber;\r
\r
/// PCI Function Number - Max 8 functions (Bits 2:0 of BDF)\r
/** @file\r
DBG2 Table Generator\r
\r
- Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.\r
+ Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Reference(s):\r
Status = EFI_INVALID_PARAMETER;\r
DEBUG ((\r
DEBUG_ERROR,\r
- "ERROR: DBG2: Uart port sybtype is invalid. PortSubtype = 0x%x\n",\r
+ "ERROR: DBG2: Uart port subtype is invalid. PortSubtype = 0x%x\n",\r
SerialPortInfo->PortSubtype\r
));\r
goto error_handler;\r
/** @file\r
IORT Table Generator\r
\r
- Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.\r
+ Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Reference(s):\r
**/\r
STATIC\r
EFI_STATUS\r
-AddSmmuInterrruptArray (\r
+AddSmmuInterruptArray (\r
IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL * CONST CfgMgrProtocol,\r
IN OUT EFI_ACPI_6_0_IO_REMAPPING_SMMU_INT * InterruptArray,\r
IN UINT32 InterruptCount,\r
SmmuNode->SMMU_NSgCfgIrptFlags = NodeList->SMMU_NSgCfgIrptFlags;\r
\r
// Add Context Interrupt Array\r
- Status = AddSmmuInterrruptArray (\r
+ Status = AddSmmuInterruptArray (\r
CfgMgrProtocol,\r
ContextInterruptArray,\r
SmmuNode->NumContextInterrupts,\r
// Add PMU Interrupt Array\r
if ((SmmuNode->NumPmuInterrupts > 0) &&\r
(NodeList->PmuInterruptToken != CM_NULL_TOKEN)) {\r
- Status = AddSmmuInterrruptArray (\r
+ Status = AddSmmuInterruptArray (\r
CfgMgrProtocol,\r
PmuInterruptArray,\r
SmmuNode->NumPmuInterrupts,\r
/** @file\r
MADT Table Generator\r
\r
- Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.\r
+ Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Reference(s):\r
/** Update the GIC Redistributor Information.\r
\r
@param [in] Gicr Pointer to GIC Redistributor structure.\r
- @param [in] GicRedisributorInfo Pointer to the GIC Redistributor Info.\r
+ @param [in] GicRedistributorInfo Pointer to the GIC Redistributor Info.\r
**/\r
STATIC\r
VOID\r
AddGICRedistributor (\r
IN EFI_ACPI_6_3_GICR_STRUCTURE * CONST Gicr,\r
- IN CONST CM_ARM_GIC_REDIST_INFO * CONST GicRedisributorInfo\r
+ IN CONST CM_ARM_GIC_REDIST_INFO * CONST GicRedistributorInfo\r
)\r
{\r
ASSERT (Gicr != NULL);\r
- ASSERT (GicRedisributorInfo != NULL);\r
+ ASSERT (GicRedistributorInfo != NULL);\r
\r
Gicr->Type = EFI_ACPI_6_3_GICR;\r
Gicr->Length = sizeof (EFI_ACPI_6_3_GICR_STRUCTURE);\r
Gicr->Reserved = EFI_ACPI_RESERVED_WORD;\r
Gicr->DiscoveryRangeBaseAddress =\r
- GicRedisributorInfo->DiscoveryRangeBaseAddress;\r
- Gicr->DiscoveryRangeLength = GicRedisributorInfo->DiscoveryRangeLength;\r
+ GicRedistributorInfo->DiscoveryRangeBaseAddress;\r
+ Gicr->DiscoveryRangeLength = GicRedistributorInfo->DiscoveryRangeLength;\r
}\r
\r
/** Add the GIC Redistributor Information to the MADT Table.\r
/** @file\r
SPCR Table Generator\r
\r
- Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.\r
+ Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Reference(s):\r
Status = EFI_INVALID_PARAMETER;\r
DEBUG ((\r
DEBUG_ERROR,\r
- "ERROR: SPCR: Uart port sybtype is invalid. PortSubtype = 0x%x\n",\r
+ "ERROR: SPCR: Uart port subtype is invalid. PortSubtype = 0x%x\n",\r
SerialPortInfo->PortSubtype\r
));\r
goto error_handler;\r
Status = EFI_INVALID_PARAMETER;\r
DEBUG ((\r
DEBUG_ERROR,\r
- "ERROR: SPCR: Invalid Port Sybtype (must be < 256). Status = %r\n",\r
+ "ERROR: SPCR: Invalid Port subtype (must be < 256). Status = %r\n",\r
Status\r
));\r
goto error_handler;\r
/** @file\r
SRAT Table Generator\r
\r
- Copyright (c) 2019, ARM Limited. All rights reserved.\r
+ Copyright (c) 2019 - 2020, ARM Limited. All rights reserved.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Reference(s):\r
/** Return the PCI Device information in BDF format\r
\r
PCI Bus Number - Max 256 busses (Bits 15:8 of BDF)\r
- PCI Device Mumber - Max 32 devices (Bits 7:3 of BDF)\r
+ PCI Device Number - Max 32 devices (Bits 7:3 of BDF)\r
PCI Function Number - Max 8 functions (Bits 2:0 of BDF)\r
\r
@param [in] DeviceHandlePci Pointer to the PCI Device Handle.\r
\r
Refer to the following presentation from *UEFI Plugfest Seattle 2018*:\r
\r
-[Dynamic Tables Framework: A Step Towards Automatic Generation of Advanced Configuration and Power Interface (ACPI) & System Management BIOS (SMBIOS) Tables – Sami Mujawar (Arm).](http://www.uefi.org/sites/default/files/resources/Arm_Dynamic%20Tables%20Framework%20A%20Step%20Towards%20Automatic%20Generation%20of%20Advanced%20Configuration%20and%20Power%20Interface%20%28ACPI%29%20%26%20System%20Management%20BIOS%20%28SMBIOS%29%20Tables%20_0.pdf)\r
+[Dynamic Tables Framework: A Step Towards Automatic Generation of Advanced Configuration and Power Interface (ACPI) & System Management BIOS (SMBIOS) Tables](http://www.uefi.org/sites/default/files/resources/Arm_Dynamic%20Tables%20Framework%20A%20Step%20Towards%20Automatic%20Generation%20of%20Advanced%20Configuration%20and%20Power%20Interface%20%28ACPI%29%20%26%20System%20Management%20BIOS%20%28SMBIOS%29%20Tables%20_0.pdf)\r