diff options
author | Chris Jones <christopher.jones@arm.com> | 2021-10-06 18:11:54 +0800 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2021-11-09 13:04:14 +0800 |
commit | bc04f85a2448e363a1847d5ddec6ef3611d81f44 (patch) | |
tree | 606033518fcb1ad8b9b120cfa7cb255704edb269 /MdePkg/Include/IndustryStandard/Acpi50.h | |
parent | 8c1b1fe634a233ad7570f2243027d6be8a7849a1 (diff) | |
download | edk2-MdePkg_Acpi_1109.tar.gz |
MdePkg: Fix ACPI memory aggregator/device type mismatchMdePkg_Acpi_1109
Bugzilla: 3578 (https://bugzilla.tianocore.org/show_bug.cgi?id=3579)
Since the Common Memory Device (formerly Memory Aggregator Device) was
introduced in ACPI 5.0, the edk2 type values have not matched the
values defined in the ACPI specification.
Fix this discrepancy by aligning the code to match the specification.
Signed-off-by: Chris Jones <christopher.jones@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Acpi50.h')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Acpi50.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi50.h b/MdePkg/Include/IndustryStandard/Acpi50.h index 31a47e6a2c..83d787c765 100644 --- a/MdePkg/Include/IndustryStandard/Acpi50.h +++ b/MdePkg/Include/IndustryStandard/Acpi50.h @@ -996,9 +996,9 @@ typedef struct { ///
/// Memory Aggregator Device Type
///
-#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1
-#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2
-#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3
+#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0
+#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1
+#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2
///
/// Socket Memory Aggregator Device Structure.
|