TianoCore EDK2 master
Loading...
Searching...
No Matches
PhysicalPresenceData.h
Go to the documentation of this file.
1
12#ifndef __PHYSICAL_PRESENCE_DATA_GUID_H__
13#define __PHYSICAL_PRESENCE_DATA_GUID_H__
14
15#define EFI_PHYSICAL_PRESENCE_DATA_GUID \
16 { \
17 0xf6499b1, 0xe9ad, 0x493d, { 0xb9, 0xc2, 0x2f, 0x90, 0x81, 0x5c, 0x6c, 0xbc }\
18 }
19
20#define EFI_PHYSICAL_PRESENCE_ACPI_GUID \
21 { \
22 0x3DDDFAA6, 0x361B, 0x4eb4, { 0xA4, 0x24, 0x8D, 0x10, 0x08, 0x9D, 0x16, 0x53 }\
23 }
24
25#define PHYSICAL_PRESENCE_VARIABLE L"PhysicalPresence"
26
27typedef struct {
28 UINT8 PPRequest;
29 UINT8 LastPPRequest;
30 UINT32 PPResponse;
32
33//
34// The definition of physical presence operation actions
35//
36#define PHYSICAL_PRESENCE_NO_ACTION 0
37#define PHYSICAL_PRESENCE_ENABLE 1
38#define PHYSICAL_PRESENCE_DISABLE 2
39#define PHYSICAL_PRESENCE_ACTIVATE 3
40#define PHYSICAL_PRESENCE_DEACTIVATE 4
41#define PHYSICAL_PRESENCE_CLEAR 5
42#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE 6
43#define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE 7
44#define PHYSICAL_PRESENCE_SET_OWNER_INSTALL_TRUE 8
45#define PHYSICAL_PRESENCE_SET_OWNER_INSTALL_FALSE 9
46#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_OWNER_TRUE 10
47#define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE_OWNER_FALSE 11
48#define PHYSICAL_PRESENCE_DEFERRED_PP_UNOWNERED_FIELD_UPGRADE 12
49#define PHYSICAL_PRESENCE_SET_OPERATOR_AUTH 13
50#define PHYSICAL_PRESENCE_CLEAR_ENABLE_ACTIVATE 14
51#define PHYSICAL_PRESENCE_SET_NO_PPI_PROVISION_FALSE 15
52#define PHYSICAL_PRESENCE_SET_NO_PPI_PROVISION_TRUE 16
53#define PHYSICAL_PRESENCE_SET_NO_PPI_CLEAR_FALSE 17
54#define PHYSICAL_PRESENCE_SET_NO_PPI_CLEAR_TRUE 18
55#define PHYSICAL_PRESENCE_SET_NO_PPI_MAINTENANCE_FALSE 19
56#define PHYSICAL_PRESENCE_SET_NO_PPI_MAINTENANCE_TRUE 20
57#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR 21
58#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR_ENABLE_ACTIVATE 22
59
60//
61// This variable is used to save TPM Management Flags and corresponding operations.
62// It should be protected from malicious software (e.g. Set it as read-only variable).
63//
64#define PHYSICAL_PRESENCE_FLAGS_VARIABLE L"PhysicalPresenceFlags"
65typedef struct {
66 UINT8 PPFlags;
68
69//
70// The definition bit of the TPM Management Flags
71//
72#define FLAG_NO_PPI_PROVISION BIT0
73#define FLAG_NO_PPI_CLEAR BIT1
74#define FLAG_NO_PPI_MAINTENANCE BIT2
75#define FLAG_RESET_TRACK BIT3
76
77extern EFI_GUID gEfiPhysicalPresenceGuid;
78extern EFI_GUID gEfiPhysicalPresenceAcpiGuid;
79
80#endif
UINT8 PPRequest
Physical Presence request command.
Definition: Base.h:213