mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 09:04:07 +02:00
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:
parent
d0bd68b21f
commit
24098ac0b2
@ -608,9 +608,9 @@ IDEBusDriverBindingStart (
|
|||||||
//
|
//
|
||||||
// Discover device, now!
|
// Discover device, now!
|
||||||
//
|
//
|
||||||
PERF_START (0, "DiscoverIdeDevice", "IDE", 0);
|
PERF_START (NULL, "DiscoverIdeDevice", "IDE", 0);
|
||||||
Status = DiscoverIdeDevice (IdeBlkIoDevicePtr);
|
Status = DiscoverIdeDevice (IdeBlkIoDevicePtr);
|
||||||
PERF_END (0, "DiscoverIdeDevice", "IDE", 0);
|
PERF_END (NULL, "DiscoverIdeDevice", "IDE", 0);
|
||||||
|
|
||||||
IdeBusDriverPrivateData->HaveScannedDevice[IdeChannel * 2 + IdeDevice] = TRUE;
|
IdeBusDriverPrivateData->HaveScannedDevice[IdeChannel * 2 + IdeDevice] = TRUE;
|
||||||
IdeBusDriverPrivateData->DeviceProcessed[IdeChannel * 2 + IdeDevice] = FALSE;
|
IdeBusDriverPrivateData->DeviceProcessed[IdeChannel * 2 + IdeDevice] = FALSE;
|
||||||
@ -849,8 +849,8 @@ IDEBusDriverBindingStart (
|
|||||||
gBS->FreePool (SupportedModes);
|
gBS->FreePool (SupportedModes);
|
||||||
}
|
}
|
||||||
|
|
||||||
PERF_START (0, "Finish IDE detection", "IDE", 1);
|
PERF_START (NULL, "Finish IDE detection", "IDE", 1);
|
||||||
PERF_END (0, "Finish IDE detection", "IDE", 0);
|
PERF_END (NULL, "Finish IDE detection", "IDE", 0);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user