X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FEhciDxe%2FEhci.h;h=7eb61be05afa443eab5f7336b45fe455008d5e83;hp=57c0c00084afad61c566fd39f4650e668e07cfcf;hb=f527bce3d07ff80c7fff9684b2c7cdc02805c32e;hpb=913cb9dc645d6db47d8c2a0be0369083b8bed25d diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h index 57c0c00084..7eb61be05a 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h @@ -23,18 +23,12 @@ Revision History #ifndef _EFI_EHCI_H_ #define _EFI_EHCI_H_ -// -// The package level header files this module uses -// + #include -// -// The protocols, PPI and GUID defintions for this module -// + #include #include -// -// The Library classes this module consumes -// + #include #include #include @@ -66,7 +60,7 @@ enum { EHC_SYNC_POLL_TIME = 20 * EHC_STALL_1_MICROSECOND, EHC_ASYNC_POLL_TIME = 50 * 10000UL, // The unit of time is 100us - EHC_TPL = TPL_NOTIFY, + EHC_TPL = TPL_NOTIFY }; // @@ -95,7 +89,7 @@ enum { #define EHC_FROM_THIS(a) CR(a, USB2_HC_DEV, Usb2Hc, USB2_HC_DEV_SIGNATURE) -typedef struct _USB2_HC_DEV { +struct _USB2_HC_DEV { UINTN Signature; EFI_USB2_HC_PROTOCOL Usb2Hc; @@ -143,10 +137,11 @@ typedef struct _USB2_HC_DEV { // Misc // EFI_UNICODE_STRING_TABLE *ControllerNameTable; -} USB2_HC_DEV; +}; -extern EFI_DRIVER_BINDING_PROTOCOL gEhciDriverBinding; -extern EFI_COMPONENT_NAME_PROTOCOL gEhciComponentName; +extern EFI_DRIVER_BINDING_PROTOCOL gEhciDriverBinding; +extern EFI_COMPONENT_NAME_PROTOCOL gEhciComponentName; +extern EFI_COMPONENT_NAME2_PROTOCOL gEhciComponentName2; #endif