Skip to content

Commit 7664c0b

Browse files
Abdul Lateef Attarpierregondois
Abdul Lateef Attar
authored andcommitted
DynamicTablesPkg: Fix incorrect WSMT table size
Adjust the WSMT table size to ensure the ACPI table header is generated correctly. Cc: Sami Mujawar <[email protected]> Cc: Pierre Gondois <[email protected]> Signed-off-by: Abdul Lateef Attar <[email protected]>
1 parent 5ccb5ff commit 7664c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DynamicTablesPkg/Library/Acpi/X64/AcpiWsmtLib/WsmtGenerator.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The WSMT table is used to specify the security mitigation
66
that are enabled in the Windows OS.
77
8-
Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
8+
Copyright (c) 2024 - 2025 Advanced Micro Devices, Inc. All rights reserved.
99
1010
SPDX-License-Identifier: BSD-2-Clause-Patent
1111
**/
@@ -181,7 +181,7 @@ BuildWsmtTable (
181181
This,
182182
(EFI_ACPI_DESCRIPTION_HEADER *)&AcpiWsmt,
183183
AcpiTableInfo,
184-
sizeof (EFI_ACPI_6_5_FIXED_ACPI_DESCRIPTION_TABLE)
184+
sizeof (EFI_ACPI_WSMT_TABLE)
185185
);
186186
if (EFI_ERROR (Status)) {
187187
DEBUG ((

0 commit comments

Comments
 (0)