diff options
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r-- | DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | DynamicTablesPkg/Drivers/DynamicTableManagerDxe/X64/X64DynamicTableManager.c (renamed from DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerNull.c) | 13 |
2 files changed, 7 insertions, 9 deletions
diff --git a/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf b/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf index 00d03e75be..c982b24c2a 100644 --- a/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf +++ b/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf @@ -2,6 +2,7 @@ # Module that drives the table generation and installation process.
#
# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
+# Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
@@ -28,7 +29,7 @@ Arm/ArmDynamicTableManager.c
[Sources.IA32, Sources.X64]
- DynamicTableManagerNull.c
+ X64/X64DynamicTableManager.c
[Packages]
MdePkg/MdePkg.dec
diff --git a/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerNull.c b/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/X64/X64DynamicTableManager.c index d9b727468a..a5457f383d 100644..100755 --- a/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerNull.c +++ b/DynamicTablesPkg/Drivers/DynamicTableManagerDxe/X64/X64DynamicTableManager.c @@ -1,7 +1,8 @@ /** @file
- Common Dynamic Table Manager Dxe
+ X64 Dynamic Table Manager Dxe
Copyright (c) 2024, Arm Limited. All rights reserved.
+ Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -25,11 +26,9 @@ ///
/// Array containing the ACPI tables to check.
-/// This is a dummy list only existing for build purpose.
-/// The FADT table must be placed at index 0.
///
-ACPI_TABLE_PRESENCE_INFO mAcpiVerifyTables[] = {
- { EStdAcpiTableIdFadt, EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE, "FADT", TRUE, 0 },
+STATIC ACPI_TABLE_PRESENCE_INFO mAcpiVerifyTables[] = {
+ { EStdAcpiTableIdFadt, EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE, "FADT", TRUE, 0 }
};
/** Get the arch specific ACPI table presence information.
@@ -40,7 +39,6 @@ ACPI_TABLE_PRESENCE_INFO mAcpiVerifyTables[] = { -1 if absent.
@retval EFI_SUCCESS Success.
- @retval EFI_UNSUPPORTED Unsupported.
**/
EFI_STATUS
EFIAPI
@@ -50,10 +48,9 @@ GetAcpiTablePresenceInfo ( OUT INT32 *FadtIndex
)
{
- // Dummy function - Not Implemented.
*PresenceArray = mAcpiVerifyTables;
*PresenceArrayCount = ARRAY_SIZE (mAcpiVerifyTables);
*FadtIndex = ACPI_TABLE_VERIFY_FADT;
- return EFI_UNSUPPORTED;
+ return EFI_SUCCESS;
}
|