]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Wsmt/Wsmt.aslc
UefiCpuPkg: Add GUID gEdkiiCpuFeaturesSetDoneGuid
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / Wsmt / Wsmt.aslc
CommitLineData
2c855d3a
LS
1/*++\r
2 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
3\r
4 This program and the accompanying materials are licensed and made available under\r
5 the terms and conditions of the BSD License that accompanies this distribution.\r
6 The full text of the license may be found at\r
7 http://opensource.org/licenses/bsd-license.php.\r
8\r
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12\r
13\r
14Module Name:\r
15\r
16 Wsmt.c\r
17\r
18Abstract:\r
19\r
20 This file contains a structure definition for the Windows SMM Security\r
21 Mitigations Table (WSMT).\r
22\r
23++*/\r
24\r
25//\r
26// Statements that include other files\r
27//\r
28#include "AcpiTablePlatform.h"\r
29#include <IndustryStandard/WindowsSmmSecurityMitigationTable.h>\r
30\r
31//\r
32// WSMT Table definition\r
33//\r
34EFI_ACPI_WSMT_TABLE WSMT = {\r
35 EFI_ACPI_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE,\r
36 sizeof (EFI_ACPI_WSMT_TABLE),\r
37 EFI_WSMT_TABLE_REVISION,\r
38 //\r
39 // Checksum will be updated at runtime\r
40 //\r
41 0,\r
42 EFI_ACPI_OEM_ID, // OEMID is a 6 bytes long field\r
43 EFI_ACPI_OEM_TABLE_ID, // OEM table identification(8 bytes long)\r
44 EFI_ACPI_OEM_REVISION, // OEM revision\r
45 EFI_ACPI_CREATOR_ID, // ASL compiler vendor ID\r
46 EFI_ACPI_CREATOR_REVISION, // ASL compiler revision number\r
47 0x00000000, // Protection flag\r
48};\r
49\r
50VOID*\r
51ReferenceAcpiTable (\r
52 VOID\r
53 )\r
54{\r
55 //\r
56 // Reference the table being generated to prevent the optimizer from\r
57 // removing the data structure from the executable\r
58 //\r
59 return (VOID*)&WSMT;\r
60}\r