Make use of correct format String:

1) UINT64 should use %lx
2) POINTER type should use %p
3) EFI_STATUS should use %r


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6253 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2008-10-27 10:13:00 +00:00
parent 13c310654c
commit 0e549d5be5
13 changed files with 70 additions and 70 deletions

View File

@@ -994,7 +994,7 @@ UsbBusBuildProtocol (
UsbBus->Devices[0] = RootHub;
DEBUG ((EFI_D_INFO, "UsbBusStart: usb bus started on %x, root hub %x\n", Controller, RootIf));
DEBUG ((EFI_D_INFO, "UsbBusStart: usb bus started on %p, root hub %p\n", Controller, RootIf));
return EFI_SUCCESS;
FREE_ROOTHUB:
@@ -1355,7 +1355,7 @@ UsbBusControllerDriverStop (
return EFI_SUCCESS;
}
DEBUG (( EFI_D_INFO, "UsbBusStop: usb bus stopped on %x\n", Controller));
DEBUG (( EFI_D_INFO, "UsbBusStop: usb bus stopped on %p\n", Controller));
//
// Locate USB_BUS for the current host controller

View File

@@ -983,7 +983,7 @@ UsbRootHubInit (
return Status;
}
DEBUG (( EFI_D_INFO, "UsbRootHubInit: root hub %x - max speed %d, %d ports\n",
DEBUG (( EFI_D_INFO, "UsbRootHubInit: root hub %p - max speed %d, %d ports\n",
HubIf, MaxSpeed, NumOfPort));
HubIf->IsHub = TRUE;
@@ -1274,7 +1274,7 @@ UsbRootHubRelease (
IN USB_INTERFACE *HubIf
)
{
DEBUG (( EFI_D_INFO, "UsbRootHubRelease: root hub released for hub %x\n", HubIf));
DEBUG (( EFI_D_INFO, "UsbRootHubRelease: root hub released for hub %p\n", HubIf));
gBS->SetTimer (HubIf->HubNotify, TimerCancel, USB_ROOTHUB_POLL_INTERVAL);
gBS->CloseEvent (HubIf->HubNotify);