X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FEhciDxe%2FEhci.h;fp=MdeModulePkg%2FBus%2FPci%2FEhciDxe%2FEhci.h;h=85772fb30d25e6545031ff9c05daeb1cc3447bac;hb=597f4ee21c004a25d77d0417e9de7f6d5f9aace5;hp=f2fdb929a979cf0a3ac605d4d2521dc8e6c44f82;hpb=e01fb259f838a6cd7388142dba460b42213e221a;p=mirror_edk2.git diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h index f2fdb929a9..85772fb30d 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h @@ -2,7 +2,7 @@ Provides some data struct used by EHCI controller driver. -Copyright (c) 2006 - 2007, Intel Corporation +Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -67,14 +67,12 @@ typedef enum { } EHC_TIMEOUT_EXPERIENCE_VALUE; - // - // EHC raises TPL to TPL_NOTIFY to serialize all its operations - // to protect shared data structures. - // +// +// EHC raises TPL to TPL_NOTIFY to serialize all its operations +// to protect shared data structures. +// #define EHC_TPL TPL_NOTIFY -#define USB2_HC_DEV_SIGNATURE SIGNATURE_32 ('e', 'h', 'c', 'i') - // //Iterate through the doule linked list. NOT delete safe // @@ -99,7 +97,8 @@ typedef enum { #define EHC_REG_BIT_IS_SET(Ehc, Offset, Bit) \ (EHC_BIT_IS_SET(EhcReadOpReg ((Ehc), (Offset)), (Bit))) -#define EHC_FROM_THIS(a) CR(a, USB2_HC_DEV, Usb2Hc, USB2_HC_DEV_SIGNATURE) +#define USB2_HC_DEV_SIGNATURE SIGNATURE_32 ('e', 'h', 'c', 'i') +#define EHC_FROM_THIS(a) CR(a, USB2_HC_DEV, Usb2Hc, USB2_HC_DEV_SIGNATURE) struct _USB2_HC_DEV { UINTN Signature;