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//
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//
38typedef struct {
42 UINT32 Version;
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
133typedef
138 );
139
146 UINT64 Revision;
147 EDKII_DEVICE_AUTHENTICATE DeviceAuthenticate;
148};
149
154
159extern EFI_GUID gEdkiiDeviceIdentifierTypeUsbGuid;
160
161#endif
EFI_GUID gEdkiiDeviceIdentifierTypePciGuid
EFI_STATUS(EFIAPI * EDKII_DEVICE_AUTHENTICATE)(IN EDKII_DEVICE_SECURITY_PROTOCOL *This, IN EDKII_DEVICE_IDENTIFIER *DeviceId)
EFI_GUID gEdkiiDeviceSecurityProtocolGuid
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
Definition: Base.h:213