Subrata Banik | 20fe24b | 2021-12-09 02:46:38 +0530 | [diff] [blame] | 1 | /** @file |
| 2 | Defines Windows SMM Security Mitigation Table |
| 3 | @ https://msdn.microsoft.com/windows/hardware/drivers/bringup/acpi-system-description-tables#wsmt |
| 4 | |
| 5 | Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> |
| 6 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 7 | |
| 8 | **/ |
| 9 | |
| 10 | |
| 11 | #ifndef _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_ |
| 12 | #define _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_ |
| 13 | |
| 14 | #include <IndustryStandard/Acpi.h> |
| 15 | |
| 16 | #define EFI_ACPI_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE SIGNATURE_32('W', 'S', 'M', 'T') |
| 17 | |
| 18 | #pragma pack(1) |
| 19 | |
| 20 | #define EFI_WSMT_TABLE_REVISION 1 |
| 21 | |
| 22 | typedef struct { |
| 23 | EFI_ACPI_DESCRIPTION_HEADER Header; |
| 24 | UINT32 ProtectionFlags; |
| 25 | } EFI_ACPI_WSMT_TABLE; |
| 26 | |
| 27 | #define EFI_WSMT_PROTECTION_FLAGS_FIXED_COMM_BUFFERS 0x1 |
| 28 | #define EFI_WSMT_PROTECTION_FLAGS_COMM_BUFFER_NESTED_PTR_PROTECTION 0x2 |
| 29 | #define EFI_WSMT_PROTECTION_FLAGS_SYSTEM_RESOURCE_PROTECTION 0x4 |
| 30 | |
| 31 | #pragma pack() |
| 32 | |
| 33 | #endif |