summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-06 06:17:01 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-06 06:17:01 +0000
commitfd0d484170528a47463d9d7ffd6a3b43cd4365e9 (patch)
treee1f79949a734ef90e712a3482ac6c33b857470e4 /MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
parentb2c0a17556ce881deb595e1765c106bd6b0f9761 (diff)
downloadedk2-platforms-fd0d484170528a47463d9d7ffd6a3b43cd4365e9.tar.xz
clean ecc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7461 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h')
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
index c835b66d7a..d5213284ce 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.h
@@ -27,17 +27,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define USB_HC_HIGH_32BIT(Addr64) \
((UINT32)(RShiftU64((UINTN)(Addr64), 32) & 0XFFFFFFFF))
-typedef struct _USBHC_MEM_BLOCK USBHC_MEM_BLOCK;
-
-struct _USBHC_MEM_BLOCK {
+typedef struct _USBHC_MEM_BLOCK {
UINT8 *Bits; // Bit array to record which unit is allocated
UINTN BitsLen;
UINT8 *Buf;
UINT8 *BufHost;
UINTN BufLen; // Memory size in bytes
VOID *Mapping;
- USBHC_MEM_BLOCK *Next;
-};
+ struct _USBHC_MEM_BLOCK *Next;
+} USBHC_MEM_BLOCK;
//
// USBHC_MEM_POOL is used to manage the memory used by USB