TianoCore EDK2 master
Loading...
Searching...
No Matches
PciHotPlugInit.h
Go to the documentation of this file.
1
52#ifndef _EFI_PCI_HOT_PLUG_INIT_H_
53#define _EFI_PCI_HOT_PLUG_INIT_H_
54
58#define EFI_PCI_HOT_PLUG_INIT_PROTOCOL_GUID \
59 { \
60 0xaa0e8bc1, 0xdabc, 0x46b0, {0xa8, 0x44, 0x37, 0xb8, 0x16, 0x9b, 0x2b, 0xea } \
61 }
62
67
71typedef UINT16 EFI_HPC_STATE;
72
79#define EFI_HPC_STATE_INITIALIZED 0x01
80
85#define EFI_HPC_STATE_ENABLED 0x02
86
90typedef struct {
108
112typedef enum {
132
158typedef
160(EFIAPI *EFI_GET_ROOT_HPC_LIST)(
162 OUT UINTN *HpcCount,
163 OUT EFI_HPC_LOCATION **HpcList
164 );
165
197typedef
201 IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath,
202 IN UINT64 HpcPciAddress,
203 IN EFI_EVENT Event OPTIONAL,
204 OUT EFI_HPC_STATE *HpcState
205 );
206
237typedef
241 IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath,
242 IN UINT64 HpcPciAddress,
243 OUT EFI_HPC_STATE *HpcState,
244 OUT VOID **Padding,
246 );
247
258
263
268};
269
270extern EFI_GUID gEfiPciHotPlugInitProtocolGuid;
271
272#endif
UINT64 UINTN
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_HPC_PADDING_ATTRIBUTES
@ EfiPaddingPciBus
@ EfiPaddingPciRootBridge
EFI_STATUS(EFIAPI * EFI_INITIALIZE_ROOT_HPC)(IN EFI_PCI_HOT_PLUG_INIT_PROTOCOL *This, IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath, IN UINT64 HpcPciAddress, IN EFI_EVENT Event OPTIONAL, OUT EFI_HPC_STATE *HpcState)
EFI_STATUS(EFIAPI * EFI_GET_ROOT_HPC_LIST)(IN EFI_PCI_HOT_PLUG_INIT_PROTOCOL *This, OUT UINTN *HpcCount, OUT EFI_HPC_LOCATION **HpcList)
UINT16 EFI_HPC_STATE
EFI_STATUS(EFIAPI * EFI_GET_HOT_PLUG_PADDING)(IN EFI_PCI_HOT_PLUG_INIT_PROTOCOL *This, IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath, IN UINT64 HpcPciAddress, OUT EFI_HPC_STATE *HpcState, OUT VOID **Padding, OUT EFI_HPC_PADDING_ATTRIBUTES *Attributes)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
EFI_INITIALIZE_ROOT_HPC InitializeRootHpc
EFI_GET_ROOT_HPC_LIST GetRootHpcList
EFI_GET_HOT_PLUG_PADDING GetResourcePadding
EFI_DEVICE_PATH_PROTOCOL * HpbDevicePath
EFI_DEVICE_PATH_PROTOCOL * HpcDevicePath
Definition: Base.h:213