TianoCore EDK2
master
Loading...
Searching...
No Matches
DeviceSecurity.h
Go to the documentation of this file.
1
12
#ifndef __DEVICE_SECURITY_H__
13
#define __DEVICE_SECURITY_H__
14
15
//
16
// Device Security Protocol GUID value
17
//
18
#define EDKII_DEVICE_SECURITY_PROTOCOL_GUID \
19
{ \
20
0x5d6b38c8, 0x5510, 0x4458, { 0xb4, 0x8d, 0x95, 0x81, 0xcf, 0xa7, 0xb0, 0xd } \
21
}
22
23
//
24
// Forward reference for pure ANSI compatability
25
//
26
typedef
struct
_EDKII_DEVICE_SECURITY_PROTOCOL
EDKII_DEVICE_SECURITY_PROTOCOL
;
27
28
//
29
// Revision The revision to which the DEVICE_SECURITY interface adheres.
30
// All future revisions must be backwards compatible.
31
// If a future version is not back wards compatible it is not the same GUID.
32
//
33
#define EDKII_DEVICE_SECURITY_PROTOCOL_REVISION 0x00010000
34
35
//
36
// The device identifier.
37
//
38
typedef
struct
{
42
UINT32
Version
;
51
EFI_GUID
DeviceType
;
74
EFI_HANDLE
DeviceHandle
;
75
}
EDKII_DEVICE_IDENTIFIER
;
76
77
//
78
// Revision The revision to which the DEVICE_IDENTIFIER interface adheres.
79
// All future revisions must be backwards compatible.
80
//
81
#define EDKII_DEVICE_IDENTIFIER_REVISION 0x00010000
82
83
//
84
// Device Identifier GUID value
85
//
86
#define EDKII_DEVICE_IDENTIFIER_TYPE_PCI_GUID \
87
{ \
88
0x2509b2f1, 0xa022, 0x4cca, { 0xaf, 0x70, 0xf9, 0xd3, 0x21, 0xfb, 0x66, 0x49 } \
89
}
90
91
#define EDKII_DEVICE_IDENTIFIER_TYPE_USB_GUID \
92
{ \
93
0x7394f350, 0x394d, 0x488c, { 0xbb, 0x75, 0xc, 0xab, 0x7b, 0x12, 0xa, 0xc5 } \
94
}
95
133
typedef
134
EFI_STATUS
135
(EFIAPI *
EDKII_DEVICE_AUTHENTICATE
)(
136
IN
EDKII_DEVICE_SECURITY_PROTOCOL
*This,
137
IN
EDKII_DEVICE_IDENTIFIER
*DeviceId
138
);
139
145
struct
_EDKII_DEVICE_SECURITY_PROTOCOL
{
146
UINT64 Revision;
147
EDKII_DEVICE_AUTHENTICATE
DeviceAuthenticate;
148
};
149
153
extern
EFI_GUID
gEdkiiDeviceSecurityProtocolGuid
;
154
158
extern
EFI_GUID
gEdkiiDeviceIdentifierTypePciGuid
;
159
extern
EFI_GUID
gEdkiiDeviceIdentifierTypeUsbGuid;
160
161
#endif
gEdkiiDeviceIdentifierTypePciGuid
EFI_GUID gEdkiiDeviceIdentifierTypePciGuid
EDKII_DEVICE_AUTHENTICATE
EFI_STATUS(EFIAPI * EDKII_DEVICE_AUTHENTICATE)(IN EDKII_DEVICE_SECURITY_PROTOCOL *This, IN EDKII_DEVICE_IDENTIFIER *DeviceId)
Definition:
DeviceSecurity.h:135
gEdkiiDeviceSecurityProtocolGuid
EFI_GUID gEdkiiDeviceSecurityProtocolGuid
IN
#define IN
Definition:
Base.h:279
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
_EDKII_DEVICE_SECURITY_PROTOCOL
Definition:
DeviceSecurity.h:145
EDKII_DEVICE_IDENTIFIER
Definition:
DeviceSecurity.h:38
EDKII_DEVICE_IDENTIFIER::DeviceHandle
EFI_HANDLE DeviceHandle
Definition:
DeviceSecurity.h:74
EDKII_DEVICE_IDENTIFIER::DeviceType
EFI_GUID DeviceType
Definition:
DeviceSecurity.h:51
EDKII_DEVICE_IDENTIFIER::Version
UINT32 Version
Definition:
DeviceSecurity.h:42
GUID
Definition:
Base.h:213
MdeModulePkg
Include
Protocol
DeviceSecurity.h
Generated on Fri Nov 15 2024 18:01:11 for TianoCore EDK2 by
1.9.6