Fix compile break on IA32 arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10292 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4431fdc802
commit
6691cae97e
|
@ -1011,7 +1011,7 @@ Uhci2AsyncInterruptTransfer (
|
||||||
return EFI_OUT_OF_RESOURCES;
|
return EFI_OUT_OF_RESOURCES;
|
||||||
}
|
}
|
||||||
|
|
||||||
DataPhy = (UINT8 *)UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength);
|
DataPhy = (UINT8 *) (UINTN) UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength);
|
||||||
|
|
||||||
OldTpl = gBS->RaiseTPL (UHCI_TPL);
|
OldTpl = gBS->RaiseTPL (UHCI_TPL);
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ UhciInitFrameList (
|
||||||
// Tell the Host Controller where the Frame List lies,
|
// Tell the Host Controller where the Frame List lies,
|
||||||
// by set the Frame List Base Address Register.
|
// by set the Frame List Base Address Register.
|
||||||
//
|
//
|
||||||
UhciSetFrameListBaseAddr (Uhc->PciIo, (VOID *) MappedAddr);
|
UhciSetFrameListBaseAddr (Uhc->PciIo, (VOID *) (UINTN) MappedAddr);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Allocate the QH used by sync interrupt/control/bulk transfer.
|
// Allocate the QH used by sync interrupt/control/bulk transfer.
|
||||||
|
|
Loading…
Reference in New Issue