]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h
fixed DMA not be stopped issue when gBS->ExitBootServices called.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciUrb.h
index 5cda230a018228777588df15b1a4ae40c70eadb2..1079be003b77891c36eca3f57d5d6eb18f0c4a69 100644 (file)
@@ -3,7 +3,7 @@
     This file contains URB request, each request is warpped in a\r
     URB (Usb Request Block).\r
 \r
-Copyright (c) 2007, Intel Corporation\r
+Copyright (c) 2007 - 2009, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -31,9 +31,9 @@ typedef enum {
   EHC_INT_TRANSFER_SYNC   = 0x04,\r
   EHC_INT_TRANSFER_ASYNC  = 0x08,\r
 \r
-  EHC_QTD_SIG             = EFI_SIGNATURE_32 ('U', 'S', 'B', 'T'),\r
-  EHC_QH_SIG              = EFI_SIGNATURE_32 ('U', 'S', 'B', 'H'),\r
-  EHC_URB_SIG             = EFI_SIGNATURE_32 ('U', 'S', 'B', 'R'),\r
+  EHC_QTD_SIG             = SIGNATURE_32 ('U', 'S', 'B', 'T'),\r
+  EHC_QH_SIG              = SIGNATURE_32 ('U', 'S', 'B', 'H'),\r
+  EHC_URB_SIG             = SIGNATURE_32 ('U', 'S', 'B', 'R'),\r
 \r
   //\r
   // Hardware related bit definitions\r
@@ -261,8 +261,7 @@ EhcCreateQtd (
   IN UINT8                PktId,\r
   IN UINT8                Toggle,\r
   IN UINTN                MaxPacket\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -279,8 +278,7 @@ EHC_QH *
 EhcCreateQh (\r
   IN USB2_HC_DEV          *Ehci,\r
   IN USB_ENDPOINT         *Ep\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -289,15 +287,12 @@ EhcCreateQh (
   @param  Ehc        The EHCI device.\r
   @param  Urb        The URB to free.\r
 \r
-  @return None.\r
-\r
 **/\r
 VOID\r
 EhcFreeUrb (\r
   IN USB2_HC_DEV          *Ehc,\r
   IN URB                  *Urb\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -337,6 +332,5 @@ EhcCreateUrb (
   IN EFI_ASYNC_USB_TRANSFER_CALLBACK    Callback,\r
   IN VOID                               *Context,\r
   IN UINTN                              Interval\r
-  )\r
-;\r
+  );\r
 #endif\r