X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FBus%2FPci%2FEhci%2FDxe%2FEhci.c;h=4975c8c187fe033f0c84712995674163abaeda9b;hp=e7d359ee2495e8137e751daf2c05027faf603274;hb=c757cb321ce138fdb499dcb40770e341b9afb136;hpb=562d28495df348923812281161e64bc9514e15e6 diff --git a/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c b/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c index e7d359ee24..4975c8c187 100644 --- a/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c +++ b/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c @@ -479,7 +479,7 @@ EhciDriverBindingStart ( // // Create AsyncRequest Polling Timer // - Status = CreatePollingTimer (HcDev, AsyncRequestMoniter); + Status = CreatePollingTimer (HcDev, (EFI_EVENT_NOTIFY) AsyncRequestMoniter); if (EFI_ERROR (Status)) { Status = EFI_OUT_OF_RESOURCES; goto deinit_memory_management; @@ -886,7 +886,7 @@ EhciReset ( // Status = SetFrameListBaseAddr ( HcDev, - (UINT32) GET_0B_TO_31B (HcDev->PeriodicFrameListBuffer) + GET_0B_TO_31B (HcDev->PeriodicFrameListBuffer) ); if (EFI_ERROR (Status)) { Status = EFI_DEVICE_ERROR; @@ -2162,7 +2162,9 @@ EhciAsyncInterruptTransfer ( Submits an asynchronous interrupt transfer to an interrupt endpoint of a USB device. - + Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated + in the following specification version. + Arguments: This - A pointer to the EFI_USB2_HC_PROTOCOL instance. @@ -2469,7 +2471,9 @@ EhciSyncInterruptTransfer ( Routine Description: Submits synchronous interrupt transfer to an interrupt endpoint - of a USB device. + of a USB device. + Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated + in the following specification version. Arguments: