Wsmt.c 911 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /** @file
  2. ACPI WSMT table
  3. Copyright (c) 2019 Intel Corporation. All rights reserved. <BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. //
  7. // Statements that include other files
  8. //
  9. #include <IndustryStandard/Acpi.h>
  10. #include <IndustryStandard/WindowsSmmSecurityMitigationTable.h>
  11. #include <Library/PcdLib.h>
  12. //
  13. // WSMT Definitions
  14. //
  15. #define EFI_ACPI_OEM_WSMT_REVISION 0x00000001
  16. EFI_ACPI_WSMT_TABLE Wsmt = {
  17. {
  18. EFI_ACPI_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE,
  19. sizeof (EFI_ACPI_WSMT_TABLE),
  20. EFI_WSMT_TABLE_REVISION,
  21. //
  22. // Checksum will be updated at runtime
  23. //
  24. 0x00,
  25. //
  26. // It is expected that these values will be updated at runtime
  27. //
  28. { ' ', ' ', ' ', ' ', ' ', ' ' },
  29. 0,
  30. EFI_ACPI_OEM_WSMT_REVISION,
  31. 0,
  32. 0
  33. },
  34. FixedPcdGet32(PcdWsmtProtectionFlags)
  35. };