summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg
diff options
context:
space:
mode:
authorAbdul Lateef Attar <AbdulLateef.Attar@amd.com>2024-10-22 10:05:08 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-10-22 13:25:31 +0000
commitad522d9609c955f4256a22b42d6bdfb41c291694 (patch)
tree16ebdb293b53d5684c50896fd5fe4b39a44b6e24 /DynamicTablesPkg
parent11bd2fa072481af95a59176cd6bcb710829108e6 (diff)
downloadedk2-ad522d9609c955f4256a22b42d6bdfb41c291694.tar.gz
edk2-ad522d9609c955f4256a22b42d6bdfb41c291694.tar.bz2
edk2-ad522d9609c955f4256a22b42d6bdfb41c291694.zip
DynamicTablesPkg: Update X64 FADT XPm1aEvtBlk
Copy the provided configuration data for PM1 event block. Cc: Sami Mujawar <Sami.Mujawar@arm.com> Cc: Pierre Gondois <pierre.gondois@arm.com> Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r--DynamicTablesPkg/Library/Acpi/Common/AcpiFadtLib/X64/X64FadtGenerator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DynamicTablesPkg/Library/Acpi/Common/AcpiFadtLib/X64/X64FadtGenerator.c b/DynamicTablesPkg/Library/Acpi/Common/AcpiFadtLib/X64/X64FadtGenerator.c
index 113894183d..164f64559f 100644
--- a/DynamicTablesPkg/Library/Acpi/Common/AcpiFadtLib/X64/X64FadtGenerator.c
+++ b/DynamicTablesPkg/Library/Acpi/Common/AcpiFadtLib/X64/X64FadtGenerator.c
@@ -244,8 +244,8 @@ FadtArchUpdate (
));
} else {
CopyMem (
- &Fadt->XPm1aCntBlk,
- &XpmBlockInfo->XPm1aCntBlk,
+ &Fadt->XPm1aEvtBlk,
+ &XpmBlockInfo->XPm1aEvtBlk,
sizeof (EFI_ACPI_6_5_GENERIC_ADDRESS_STRUCTURE)
);
CopyMem (