TianoCore EDK2 master
Loading...
Searching...
No Matches
UsbController.h
Go to the documentation of this file.
1
11#ifndef _PEI_USB_CONTROLLER_PPI_H_
12#define _PEI_USB_CONTROLLER_PPI_H_
13
17#define PEI_USB_CONTROLLER_PPI_GUID \
18 { \
19 0x3bc1f6de, 0x693e, 0x4547,{ 0xa3, 0x0, 0x21, 0x82, 0x3c, 0xa4, 0x20, 0xb2} \
20 }
21
26
31#define PEI_UHCI_CONTROLLER 0x01
32
37#define PEI_OHCI_CONTROLLER 0x02
38
43#define PEI_EHCI_CONTROLLER 0x03
44
49#define PEI_XHCI_CONTROLLER 0x04
50
67typedef
70 IN EFI_PEI_SERVICES **PeiServices,
72 IN UINT8 UsbControllerId,
73 OUT UINTN *ControllerType,
74 OUT UINTN *BaseAddress
75 );
76
82 PEI_GET_USB_CONTROLLER GetUsbController;
83};
84
85extern EFI_GUID gPeiUsbControllerPpiGuid;
86
87#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_STATUS(EFIAPI * PEI_GET_USB_CONTROLLER)(IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB_CONTROLLER_PPI *This, IN UINT8 UsbControllerId, OUT UINTN *ControllerType, OUT UINTN *BaseAddress)
Definition: UsbController.h:69
Definition: Base.h:213