]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciPei/UsbHcMem.h
MdeModulePkg/SdMmcPciHcDxe: Add V3 64b DMA Support
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciPei / UsbHcMem.h
index 717a8c822c90de545109efa180c7cbeda962e6ba..17e60f652c8c0d8eed3bfbce2c05cf556b090534 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
 Private Header file for Usb Host Controller PEIM\r
 \r
-Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
-  \r
+Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
+\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions\r
 of the BSD License which accompanies this distribution.  The\r
@@ -32,22 +32,22 @@ typedef struct _USBHC_MEM_BLOCK USBHC_MEM_BLOCK;
 \r
 struct _USBHC_MEM_BLOCK {\r
   UINT8                   *Bits;    // Bit array to record which unit is allocated\r
-  UINTN                   BitsLen; \r
+  UINTN                   BitsLen;\r
   UINT8                   *Buf;\r
   UINT8                   *BufHost;\r
   UINTN                   BufLen;   // Memory size in bytes\r
-  VOID                    *Mapping;     \r
+  VOID                    *Mapping;\r
   USBHC_MEM_BLOCK         *Next;\r
 };\r
 \r
 //\r
-// USBHC_MEM_POOL is used to manage the memory used by USB \r
+// USBHC_MEM_POOL is used to manage the memory used by USB\r
 // host controller. EHCI requires the control memory and transfer\r
-// data to be on the same 4G memory. \r
+// data to be on the same 4G memory.\r
 //\r
 typedef struct _USBHC_MEM_POOL {\r
-  BOOLEAN                 Check4G;      \r
-  UINT32                  Which4G;      \r
+  BOOLEAN                 Check4G;\r
+  UINT32                  Which4G;\r
   USBHC_MEM_BLOCK         *Head;\r
 } USBHC_MEM_POOL;\r
 \r
@@ -71,7 +71,7 @@ typedef struct _USBHC_MEM_POOL {
               (Byte)++;       \\r
               (Bit) = 0;      \\r
             }                 \\r
-          } while (0)       \r
+          } while (0)\r
 \r
 \r
 /**\r