TianoCore EDK2 master
Loading...
Searching...
No Matches
AdapterInformation.h
Go to the documentation of this file.
1
14#ifndef __EFI_ADAPTER_INFORMATION_PROTOCOL_H__
15#define __EFI_ADAPTER_INFORMATION_PROTOCOL_H__
16
17#define EFI_ADAPTER_INFORMATION_PROTOCOL_GUID \
18 { \
19 0xE5DD1403, 0xD622, 0xC24E, {0x84, 0x88, 0xC7, 0x1B, 0x17, 0xF5, 0xE8, 0x02 } \
20 }
21
22#define EFI_ADAPTER_INFO_MEDIA_STATE_GUID \
23 { \
24 0xD7C74207, 0xA831, 0x4A26, {0xB1, 0xF5, 0xD1, 0x93, 0x06, 0x5C, 0xE8, 0xB6 } \
25 }
26
27#define EFI_ADAPTER_INFO_NETWORK_BOOT_GUID \
28 { \
29 0x1FBD2960, 0x4130, 0x41E5, {0x94, 0xAC, 0xD2, 0xCF, 0x03, 0x7F, 0xB3, 0x7C } \
30 }
31
32#define EFI_ADAPTER_INFO_SAN_MAC_ADDRESS_GUID \
33 { \
34 0x114da5ef, 0x2cf1, 0x4e12, {0x9b, 0xbb, 0xc4, 0x70, 0xb5, 0x52, 0x5, 0xd9 } \
35 }
36
37#define EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID \
38 { \
39 0x4bd56be3, 0x4975, 0x4d8a, {0xa0, 0xad, 0xc4, 0x91, 0x20, 0x4b, 0x5d, 0x4d} \
40 }
41
42#define EFI_ADAPTER_INFO_MEDIA_TYPE_GUID \
43 { \
44 0x8484472f, 0x71ec, 0x411a, { 0xb3, 0x9c, 0x62, 0xcd, 0x94, 0xd9, 0x91, 0x6e } \
45 }
46
48
52typedef struct {
61
65typedef struct {
72 UINT8 MediaType;
74
78typedef struct {
114 BOOLEAN FCoeBoot;
116
120typedef struct {
127
131typedef struct {
135 BOOLEAN Ipv6Support;
137
163typedef
167 IN EFI_GUID *InformationType,
168 OUT VOID **InformationBlock,
169 OUT UINTN *InformationBlockSize
170 );
171
193typedef
197 IN EFI_GUID *InformationType,
198 IN VOID *InformationBlock,
199 IN UINTN InformationBlockSize
200 );
201
224typedef
228 OUT EFI_GUID **InfoTypesBuffer,
229 OUT UINTN *InfoTypesBufferCount
230 );
231
240 EFI_ADAPTER_INFO_GET_INFO GetInformation;
241 EFI_ADAPTER_INFO_SET_INFO SetInformation;
242 EFI_ADAPTER_INFO_GET_SUPPORTED_TYPES GetSupportedTypes;
243};
244
245extern EFI_GUID gEfiAdapterInformationProtocolGuid;
246
247extern EFI_GUID gEfiAdapterInfoMediaStateGuid;
248
249extern EFI_GUID gEfiAdapterInfoNetworkBootGuid;
250
251extern EFI_GUID gEfiAdapterInfoSanMacAddressGuid;
252
253extern EFI_GUID gEfiAdapterInfoUndiIpv6SupportGuid;
254
255#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_ADAPTER_INFO_SET_INFO)(IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, IN EFI_GUID *InformationType, IN VOID *InformationBlock, IN UINTN InformationBlockSize)
EFI_STATUS(EFIAPI * EFI_ADAPTER_INFO_GET_INFO)(IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, IN EFI_GUID *InformationType, OUT VOID **InformationBlock, OUT UINTN *InformationBlockSize)
EFI_STATUS(EFIAPI * EFI_ADAPTER_INFO_GET_SUPPORTED_TYPES)(IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, OUT EFI_GUID **InfoTypesBuffer, OUT UINTN *InfoTypesBufferCount)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213