]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/Hsti.h
MdePkg: TpmPtp: Add CapCRBIdleBypass definition
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Hsti.h
CommitLineData
aaedfe3c 1/** @file\r
faa02c7f 2 Support for HSTI 1.1a specification, defined at\r
aaedfe3c
JY
3 Microsoft Hardware Security Testability Specification.\r
4\r
faa02c7f 5 Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>\r
aaedfe3c
JY
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef __HSTI_H__\r
17#define __HSTI_H__\r
18\r
19#pragma pack(1)\r
20\r
21#define ADAPTER_INFO_PLATFORM_SECURITY_GUID \\r
22 {0x6be272c7, 0x1320, 0x4ccd, { 0x90, 0x17, 0xd4, 0x61, 0x2c, 0x01, 0x2b, 0x25 }}\r
23\r
24#define PLATFORM_SECURITY_VERSION_VNEXTCS 0x00000003\r
25\r
26#define PLATFORM_SECURITY_ROLE_PLATFORM_REFERENCE 0x00000001 // IHV\r
27#define PLATFORM_SECURITY_ROLE_PLATFORM_IBV 0x00000002\r
28#define PLATFORM_SECURITY_ROLE_IMPLEMENTOR_OEM 0x00000003 \r
29#define PLATFORM_SECURITY_ROLE_IMPLEMENTOR_ODM 0x00000004 \r
30\r
31typedef struct {\r
32 //\r
33 // Return PLATFORM_SECURITY_VERSION_VNEXTCS\r
34 //\r
35 UINT32 Version;\r
36 //\r
37 // The role of the publisher of this interface. Reference platform designers\r
38 // such as IHVs and IBVs are expected to return PLATFORM_SECURITY_ROLE_PLATFORM_REFERENCE\r
39 // and PLATFORM_SECURITY_ROLE_PLATFORM_IBV respectively.\r
40 // If the test modules from the designers are unable to fully verify all\r
41 // security features, then the platform implementers, OEMs and ODMs, will\r
42 // need to publish this interface with a role of Implementer.\r
43 //\r
44 UINT32 Role;\r
45 //\r
46 // Human readable vendor, model, & version of this implementation.\r
47 //\r
48 CHAR16 ImplementationID[256];\r
49 //\r
50 // The size in bytes of the SecurityFeaturesRequired and SecurityFeaturesEnabled arrays.\r
51 // The arrays must be the same size.\r
52 //\r
53 UINT32 SecurityFeaturesSize;\r
54 //\r
55 // IHV-defined bitfield corresponding to all security features which must be\r
56 // implemented to meet the security requirements defined by PLATFORM_SECURITY_VERSION Version.\r
57 //\r
58//UINT8 SecurityFeaturesRequired[]; //Ignored for non-IHV\r
59 //\r
60 // Publisher-defined bitfield corresponding to all security features which\r
61 // have implemented programmatic tests in this module.\r
62 //\r
63//UINT8 SecurityFeaturesImplemented[];\r
64 //\r
65 // Publisher-defined bitfield corresponding to all security features which\r
66 // have been verified implemented by this implementation.\r
67 //\r
68//UINT8 SecurityFeaturesVerified[];\r
69 //\r
70 // A Null-terminated string, one failure per line (CR/LF terminated), with a\r
71 // unique identifier that the OEM/ODM can use to locate the documentation\r
72 // which will describe the steps to remediate the failure - a URL to the\r
73 // documentation is recommended.\r
74 //\r
faa02c7f 75//CHAR16 ErrorString[];\r
aaedfe3c
JY
76} ADAPTER_INFO_PLATFORM_SECURITY;\r
77\r
78#pragma pack()\r
79\r
80extern EFI_GUID gAdapterInfoPlatformSecurityGuid;\r
81\r
82#endif\r