TianoCore EDK2 master
Loading...
Searching...
No Matches
PciPlatform.h
Go to the documentation of this file.
1
16#ifndef _PCI_PLATFORM_H_
17#define _PCI_PLATFORM_H_
18
24
28#define EFI_PCI_PLATFORM_PROTOCOL_GUID \
29 { \
30 0x7d75280, 0x27d4, 0x4d69, {0x90, 0xd0, 0x56, 0x43, 0xe2, 0x38, 0xb3, 0x41} \
31 }
32
37
114
119#define EFI_RESERVE_NONE_IO_ALIAS 0x0000
120
128#define EFI_RESERVE_ISA_IO_ALIAS 0x0001
129
133#define EFI_RESERVE_ISA_IO_NO_ALIAS 0x0002
134
138#define EFI_RESERVE_VGA_IO_ALIAS 0x0004
139
143#define EFI_RESERVE_VGA_IO_NO_ALIAS 0x0008
144
149typedef enum {
176 MaximumChipsetPhase
178
180
205typedef
209 IN EFI_HANDLE HostBridge,
212 );
213
240typedef
244 IN EFI_HANDLE HostBridge,
245 IN EFI_HANDLE RootBridge,
249 );
250
265typedef
270 );
271
301typedef
305 IN EFI_HANDLE PciHandle,
306 OUT VOID **RomImage,
307 OUT UINTN *RomSize
308 );
309
334};
335
336extern EFI_GUID gEfiPciPlatformProtocolGuid;
337
338#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE
EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE
UINT32 EFI_PCI_PLATFORM_POLICY
Definition: PciPlatform.h:113
EFI_STATUS(EFIAPI * EFI_PCI_PLATFORM_GET_PCI_ROM)(IN CONST EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE PciHandle, OUT VOID **RomImage, OUT UINTN *RomSize)
Definition: PciPlatform.h:303
EFI_STATUS(EFIAPI * EFI_PCI_PLATFORM_PHASE_NOTIFY)(IN EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE HostBridge, IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PHASE Phase, IN EFI_PCI_EXECUTION_PHASE ExecPhase)
Definition: PciPlatform.h:207
EFI_STATUS(EFIAPI * EFI_PCI_PLATFORM_PREPROCESS_CONTROLLER)(IN EFI_PCI_PLATFORM_PROTOCOL *This, IN EFI_HANDLE HostBridge, IN EFI_HANDLE RootBridge, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress, IN EFI_PCI_CONTROLLER_RESOURCE_ALLOCATION_PHASE Phase, IN EFI_PCI_EXECUTION_PHASE ExecPhase)
Definition: PciPlatform.h:242
EFI_STATUS(EFIAPI * EFI_PCI_PLATFORM_GET_PLATFORM_POLICY)(IN CONST EFI_PCI_PLATFORM_PROTOCOL *This, OUT EFI_PCI_PLATFORM_POLICY *PciPolicy)
Definition: PciPlatform.h:267
EFI_PCI_EXECUTION_PHASE
Definition: PciPlatform.h:149
@ ChipsetExit
Definition: PciPlatform.h:175
@ AfterPciHostBridge
Definition: PciPlatform.h:168
@ ChipsetEntry
Definition: PciPlatform.h:161
@ BeforePciHostBridge
Definition: PciPlatform.h:155
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_PCI_PLATFORM_PHASE_NOTIFY PlatformNotify
Definition: PciPlatform.h:320
EFI_PCI_PLATFORM_PREPROCESS_CONTROLLER PlatformPrepController
Definition: PciPlatform.h:325
EFI_PCI_PLATFORM_GET_PLATFORM_POLICY GetPlatformPolicy
Definition: PciPlatform.h:329
EFI_PCI_PLATFORM_GET_PCI_ROM GetPciRom
Definition: PciPlatform.h:333
Definition: Base.h:213