mirror of https://github.com/acidanthera/audk.git
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@8954 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
24098ac0b2
commit
128efbbcc2
|
@ -150,7 +150,7 @@ BdsLibBootViaBootOption (
|
||||||
//
|
//
|
||||||
// Record the performance data for End of BDS
|
// Record the performance data for End of BDS
|
||||||
//
|
//
|
||||||
PERF_END (0, "BDS", NULL, 0);
|
PERF_END(NULL, "BDS", NULL, 0);
|
||||||
|
|
||||||
*ExitDataSize = 0;
|
*ExitDataSize = 0;
|
||||||
*ExitData = NULL;
|
*ExitData = NULL;
|
||||||
|
|
|
@ -286,8 +286,8 @@ BdsEntry (
|
||||||
//
|
//
|
||||||
// Insert the performance probe
|
// Insert the performance probe
|
||||||
//
|
//
|
||||||
PERF_END (0, "DXE", NULL, 0);
|
PERF_END (NULL, "DXE", NULL, 0);
|
||||||
PERF_START (0, "BDS", NULL, 0);
|
PERF_START (NULL, "BDS", NULL, 0);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Initialize the global system boot option and driver option
|
// Initialize the global system boot option and driver option
|
||||||
|
@ -316,7 +316,7 @@ BdsEntry (
|
||||||
//
|
//
|
||||||
// Do the platform init, can be customized by OEM/IBV
|
// Do the platform init, can be customized by OEM/IBV
|
||||||
//
|
//
|
||||||
PERF_START (0, "PlatformBds", "BDS", 0);
|
PERF_START (NULL, "PlatformBds", "BDS", 0);
|
||||||
PlatformBdsInit ();
|
PlatformBdsInit ();
|
||||||
|
|
||||||
InitializeHwErrRecSupport();
|
InitializeHwErrRecSupport();
|
||||||
|
@ -351,7 +351,7 @@ BdsEntry (
|
||||||
// Setup some platform policy here
|
// Setup some platform policy here
|
||||||
//
|
//
|
||||||
PlatformBdsPolicyBehavior (&DriverOptionList, &BootOptionList, ProcessCapsules, BdsMemoryTest);
|
PlatformBdsPolicyBehavior (&DriverOptionList, &BootOptionList, ProcessCapsules, BdsMemoryTest);
|
||||||
PERF_END (0, "PlatformBds", "BDS", 0);
|
PERF_END (NULL, "PlatformBds", "BDS", 0);
|
||||||
|
|
||||||
//
|
//
|
||||||
// BDS select the boot device to load OS
|
// BDS select the boot device to load OS
|
||||||
|
|
|
@ -961,7 +961,7 @@ PlatformBdsEnterFrontPage (
|
||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
PERF_START (0, "BdsTimeOut", "BDS", 0);
|
PERF_START (NULL, "BdsTimeOut", "BDS", 0);
|
||||||
//
|
//
|
||||||
// Indicate if we need connect all in the platform setup
|
// Indicate if we need connect all in the platform setup
|
||||||
//
|
//
|
||||||
|
@ -1072,5 +1072,5 @@ Exit:
|
||||||
// Note: The following lines of code only execute when Auto boot
|
// Note: The following lines of code only execute when Auto boot
|
||||||
// takes affect
|
// takes affect
|
||||||
//
|
//
|
||||||
PERF_END (0, "BdsTimeOut", "BDS", 0);
|
PERF_END (NULL, "BdsTimeOut", "BDS", 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue