]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1459 6f19259b...
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / Ehci / Dxe / Ehci.c
index e7d359ee2495e8137e751daf2c05027faf603274..4975c8c187fe033f0c84712995674163abaeda9b 100644 (file)
@@ -479,7 +479,7 @@ EhciDriverBindingStart (
   //\r
   // Create AsyncRequest Polling Timer\r
   //\r
-  Status = CreatePollingTimer (HcDev, AsyncRequestMoniter);\r
+  Status = CreatePollingTimer (HcDev, (EFI_EVENT_NOTIFY) AsyncRequestMoniter);\r
   if (EFI_ERROR (Status)) {\r
     Status = EFI_OUT_OF_RESOURCES;\r
     goto deinit_memory_management;\r
@@ -886,7 +886,7 @@ EhciReset (
     //\r
     Status = SetFrameListBaseAddr (\r
                HcDev, \r
-               (UINT32) GET_0B_TO_31B (HcDev->PeriodicFrameListBuffer)\r
+               GET_0B_TO_31B (HcDev->PeriodicFrameListBuffer)\r
                );\r
     if (EFI_ERROR (Status)) {\r
       Status = EFI_DEVICE_ERROR;\r
@@ -2162,7 +2162,9 @@ EhciAsyncInterruptTransfer (
   \r
     Submits an asynchronous interrupt transfer to an \r
     interrupt endpoint of a USB device.\r
-  \r
+    Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated \r
+    in the following specification version.\r
+    \r
   Arguments:\r
     \r
     This            - A pointer to the EFI_USB2_HC_PROTOCOL instance.\r
@@ -2469,7 +2471,9 @@ EhciSyncInterruptTransfer (
   Routine Description:\r
   \r
     Submits synchronous interrupt transfer to an interrupt endpoint \r
-    of a USB device.\r
+    of a USB device. \r
+    Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated \r
+    in the following specification version.\r
   \r
   Arguments:\r
     \r