TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | EFI_ADAPTER_INFO_MEDIA_STATE |
struct | EFI_ADAPTER_INFO_MEDIA_TYPE |
struct | EFI_ADAPTER_INFO_NETWORK_BOOT |
struct | EFI_ADAPTER_INFO_SAN_MAC_ADDRESS |
struct | EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT |
struct | _EFI_ADAPTER_INFORMATION_PROTOCOL |
Macros | |
#define | EFI_ADAPTER_INFORMATION_PROTOCOL_GUID |
#define | EFI_ADAPTER_INFO_MEDIA_STATE_GUID |
#define | EFI_ADAPTER_INFO_NETWORK_BOOT_GUID |
#define | EFI_ADAPTER_INFO_SAN_MAC_ADDRESS_GUID |
#define | EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID |
#define | EFI_ADAPTER_INFO_MEDIA_TYPE_GUID |
Typedefs | |
typedef struct _EFI_ADAPTER_INFORMATION_PROTOCOL | EFI_ADAPTER_INFORMATION_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_ADAPTER_INFO_GET_INFO) (IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, IN EFI_GUID *InformationType, OUT VOID **InformationBlock, OUT UINTN *InformationBlockSize) |
typedef EFI_STATUS(EFIAPI * | EFI_ADAPTER_INFO_SET_INFO) (IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, IN EFI_GUID *InformationType, IN VOID *InformationBlock, IN UINTN InformationBlockSize) |
typedef EFI_STATUS(EFIAPI * | EFI_ADAPTER_INFO_GET_SUPPORTED_TYPES) (IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, OUT EFI_GUID **InfoTypesBuffer, OUT UINTN *InfoTypesBufferCount) |
Variables | |
EFI_GUID | gEfiAdapterInformationProtocolGuid |
EFI_GUID | gEfiAdapterInfoMediaStateGuid |
EFI_GUID | gEfiAdapterInfoNetworkBootGuid |
EFI_GUID | gEfiAdapterInfoSanMacAddressGuid |
EFI_GUID | gEfiAdapterInfoUndiIpv6SupportGuid |
EFI Adapter Information Protocol definition. The EFI Adapter Information Protocol is used to dynamically and quickly discover or set device information for an adapter.
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AdapterInformation.h.
#define EFI_ADAPTER_INFO_MEDIA_STATE_GUID |
Definition at line 22 of file AdapterInformation.h.
#define EFI_ADAPTER_INFO_MEDIA_TYPE_GUID |
Definition at line 42 of file AdapterInformation.h.
#define EFI_ADAPTER_INFO_NETWORK_BOOT_GUID |
Definition at line 27 of file AdapterInformation.h.
#define EFI_ADAPTER_INFO_SAN_MAC_ADDRESS_GUID |
Definition at line 32 of file AdapterInformation.h.
#define EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID |
Definition at line 37 of file AdapterInformation.h.
#define EFI_ADAPTER_INFORMATION_PROTOCOL_GUID |
Definition at line 17 of file AdapterInformation.h.
typedef EFI_STATUS(EFIAPI * EFI_ADAPTER_INFO_GET_INFO) (IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, IN EFI_GUID *InformationType, OUT VOID **InformationBlock, OUT UINTN *InformationBlockSize) |
Returns the current state information for the adapter.
This function returns information of type InformationType from the adapter. If an adapter does not support the requested informational type, then EFI_UNSUPPORTED is returned. If an adapter does not contain Information for the requested InformationType, it fills InformationBlockSize with 0 and returns EFI_NOT_FOUND.
[in] | This | A pointer to the EFI_ADAPTER_INFORMATION_PROTOCOL instance. |
[in] | InformationType | A pointer to an EFI_GUID that defines the contents of InformationBlock. |
[out] | InforamtionBlock | The service returns a pointer to the buffer with the InformationBlock structure which contains details about the data specific to InformationType. |
[out] | InforamtionBlockSize | The driver returns the size of the InformationBlock in bytes. |
EFI_SUCCESS | The InformationType information was retrieved. |
EFI_UNSUPPORTED | The InformationType is not known. |
EFI_NOT_FOUND | Information is not available for the requested information type. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_OUT_OF_RESOURCES | The request could not be completed due to a lack of resources. |
EFI_INVALID_PARAMETER | This is NULL. |
EFI_INVALID_PARAMETER | InformationBlock is NULL. |
EFI_INVALID_PARAMETER | InformationBlockSize is NULL. |
Definition at line 164 of file AdapterInformation.h.
typedef EFI_STATUS(EFIAPI * EFI_ADAPTER_INFO_GET_SUPPORTED_TYPES) (IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, OUT EFI_GUID **InfoTypesBuffer, OUT UINTN *InfoTypesBufferCount) |
Get a list of supported information types for this instance of the protocol.
This function returns a list of InformationType GUIDs that are supported on an adapter with this instance of EFI_ADAPTER_INFORMATION_PROTOCOL. The list is returned in InfoTypesBuffer, and the number of GUID pointers in InfoTypesBuffer is returned in InfoTypesBufferCount.
[in] | This | A pointer to the EFI_ADAPTER_INFORMATION_PROTOCOL instance. |
[out] | InfoTypesBuffer | A pointer to the array of InformationType GUIDs that are supported by This. |
[out] | InfoTypesBufferCount | A pointer to the number of GUIDs present in InfoTypesBuffer. |
EFI_SUCCESS | The list of information type GUIDs that are supported on this adapter was returned in InfoTypesBuffer. The number of information type GUIDs was returned in InfoTypesBufferCount. |
EFI_INVALID_PARAMETER | This is NULL. |
EFI_INVALID_PARAMETER | InfoTypesBuffer is NULL. |
EFI_INVALID_PARAMETER | InfoTypesBufferCount is NULL. |
EFI_OUT_OF_RESOURCES | There is not enough pool memory to store the results. |
Definition at line 225 of file AdapterInformation.h.
typedef EFI_STATUS(EFIAPI * EFI_ADAPTER_INFO_SET_INFO) (IN EFI_ADAPTER_INFORMATION_PROTOCOL *This, IN EFI_GUID *InformationType, IN VOID *InformationBlock, IN UINTN InformationBlockSize) |
Sets state information for an adapter.
This function sends information of type InformationType for an adapter. If an adapter does not support the requested information type, then EFI_UNSUPPORTED is returned.
[in] | This | A pointer to the EFI_ADAPTER_INFORMATION_PROTOCOL instance. |
[in] | InformationType | A pointer to an EFI_GUID that defines the contents of InformationBlock. |
[in] | InforamtionBlock | A pointer to the InformationBlock structure which contains details about the data specific to InformationType. |
[in] | InforamtionBlockSize | The size of the InformationBlock in bytes. |
EFI_SUCCESS | The information was received and interpreted successfully. |
EFI_UNSUPPORTED | The InformationType is not known. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_INVALID_PARAMETER | This is NULL. |
EFI_INVALID_PARAMETER | InformationBlock is NULL. |
EFI_WRITE_PROTECTED | The InformationType cannot be modified using EFI_ADAPTER_INFO_SET_INFO(). |
Definition at line 194 of file AdapterInformation.h.
Definition at line 47 of file AdapterInformation.h.