Clean up PERF macro usage. The macros were being used with 0 as the first parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8953 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503 2009-07-15 22:09:29 +00:00
parent d0bd68b21f
commit 24098ac0b2

View File

@ -608,9 +608,9 @@ IDEBusDriverBindingStart (
//
// Discover device, now!
//
PERF_START (0, "DiscoverIdeDevice", "IDE", 0);
PERF_START (NULL, "DiscoverIdeDevice", "IDE", 0);
Status = DiscoverIdeDevice (IdeBlkIoDevicePtr);
PERF_END (0, "DiscoverIdeDevice", "IDE", 0);
PERF_END (NULL, "DiscoverIdeDevice", "IDE", 0);
IdeBusDriverPrivateData->HaveScannedDevice[IdeChannel * 2 + IdeDevice] = TRUE;
IdeBusDriverPrivateData->DeviceProcessed[IdeChannel * 2 + IdeDevice] = FALSE;
@ -849,8 +849,8 @@ IDEBusDriverBindingStart (
gBS->FreePool (SupportedModes);
}
PERF_START (0, "Finish IDE detection", "IDE", 1);
PERF_END (0, "Finish IDE detection", "IDE", 0);
PERF_START (NULL, "Finish IDE detection", "IDE", 1);
PERF_END (NULL, "Finish IDE detection", "IDE", 0);
return EFI_SUCCESS;