TianoCore EDK2 master
Loading...
Searching...
No Matches
TpmNvsMm.h
Go to the documentation of this file.
1
11#ifndef TCG2_NVS_MM_H_
12#define TCG2_NVS_MM_H_
13
14#define MM_TPM_NVS_HOB_GUID \
15 { 0xc96c76eb, 0xbc78, 0x429c, { 0x9f, 0x4b, 0xda, 0x51, 0x78, 0xc2, 0x84, 0x57 }}
16
17extern EFI_GUID gTpmNvsMmGuid;
18
19#pragma pack(1)
20typedef struct {
21 UINT8 SoftwareSmi;
22 UINT32 Parameter;
23 UINT32 Response;
24 UINT32 Request;
25 UINT32 RequestParameter;
26 UINT32 LastRequest;
27 UINT32 ReturnCode;
29
30typedef struct {
31 UINT8 SoftwareSmi;
32 UINT32 Parameter;
33 UINT32 Request;
34 UINT32 ReturnCode;
36
37typedef struct {
38 PHYSICAL_PRESENCE_NVS PhysicalPresence;
39 MEMORY_CLEAR_NVS MemoryClear;
40 UINT32 PPRequestUserConfirm;
41 UINT32 TpmIrqNum;
42 BOOLEAN IsShortFormPkgLength;
43} TCG_NVS;
44
45typedef struct {
46 UINT8 OpRegionOp;
47 UINT32 NameString;
48 UINT8 RegionSpace;
49 UINT8 DWordPrefix;
50 UINT32 RegionOffset;
51 UINT8 BytePrefix;
52 UINT8 RegionLen;
54
55typedef struct {
56 UINT64 Function;
57 UINT64 ReturnStatus;
58 EFI_PHYSICAL_ADDRESS TargetAddress;
59 UINT64 RegisteredPpSwiValue;
60 UINT64 RegisteredMcSwiValue;
62#pragma pack()
63
64typedef enum {
65 TpmNvsMmExchangeInfo,
66} TPM_NVS_MM_FUNCTION;
67
68#endif // TCG2_NVS_MM_H_
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
Definition: Base.h:213