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, Intel Corporation. All rights reserved.<BR>
6  This program and the accompanying materials
7  are licensed and made available under the terms and conditions of the BSD License
8  which accompanies this distribution.  The full text of the license may be found at
9  http://opensource.org/licenses/bsd-license.php
10
11  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16
17#ifndef _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
18#define _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
19
20#include <IndustryStandard/Acpi.h>
21
22#define EFI_ACPI_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE  SIGNATURE_32('W', 'S', 'M', 'T')
23
24#pragma pack(1)
25
26#define EFI_WSMT_TABLE_REVISION  1
27
28typedef struct {
29  EFI_ACPI_DESCRIPTION_HEADER Header;
30  UINT32                      ProtectionFlags;
31} EFI_ACPI_WSMT_TABLE;
32
33#define EFI_WSMT_PROTECTION_FLAGS_FIXED_COMM_BUFFERS                   0x1
34#define EFI_WSMT_PROTECTION_FLAGS_COMM_BUFFER_NESTED_PTR_PROTECTION    0x2
35#define EFI_WSMT_PROTECTION_FLAGS_SYSTEM_RESOURCE_PROTECTION           0x4
36
37#pragma pack()
38
39#endif
40