X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FBus%2FPci%2FEhci%2FDxe%2FEhci.c;fp=EdkModulePkg%2FBus%2FPci%2FEhci%2FDxe%2FEhci.c;h=c6105eb0b545952ea47fa3680337ea3579152aa3;hp=4975c8c187fe033f0c84712995674163abaeda9b;hb=71a62114eb16255adaf886be35edecf0045bb494;hpb=a98f11c5b9663638bca1fd7518a783c33c420039 diff --git a/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c b/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c index 4975c8c187..c6105eb0b5 100644 --- a/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c +++ b/EdkModulePkg/Bus/Pci/Ehci/Dxe/Ehci.c @@ -22,8 +22,10 @@ Revision History #include "Ehci.h" -UINTN gEHCDebugLevel = EFI_D_INFO; -UINTN gEHCErrorLevel = EFI_D_ERROR; + +GLOBAL_REMOVE_IF_UNREFERENCED UINTN gEHCDebugLevel = EFI_D_INFO; +GLOBAL_REMOVE_IF_UNREFERENCED UINTN gEHCErrorLevel = EFI_D_ERROR; + // // Prototypes @@ -886,7 +888,7 @@ EhciReset ( // Status = SetFrameListBaseAddr ( HcDev, - GET_0B_TO_31B (HcDev->PeriodicFrameListBuffer) + (UINT32)GET_0B_TO_31B (HcDev->PeriodicFrameListBuffer) ); if (EFI_ERROR (Status)) { Status = EFI_DEVICE_ERROR;