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@8955 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
128efbbcc2
commit
e6d4b9d5a3
|
@ -258,8 +258,8 @@ DxeMain (
|
||||||
// Call constructor for all libraries
|
// Call constructor for all libraries
|
||||||
//
|
//
|
||||||
ProcessLibraryConstructorList (gDxeCoreImageHandle, gDxeCoreST);
|
ProcessLibraryConstructorList (gDxeCoreImageHandle, gDxeCoreST);
|
||||||
PERF_END (0,"PEI", NULL, 0) ;
|
PERF_END (NULL,"PEI", NULL, 0) ;
|
||||||
PERF_START (0,"DXE", NULL, 0) ;
|
PERF_START (NULL,"DXE", NULL, 0) ;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Initialize the Global Coherency Domain Services
|
// Initialize the Global Coherency Domain Services
|
||||||
|
@ -360,16 +360,16 @@ DxeMain (
|
||||||
//
|
//
|
||||||
// Initialize the DXE Dispatcher
|
// Initialize the DXE Dispatcher
|
||||||
//
|
//
|
||||||
PERF_START (0,"CoreInitializeDispatcher", "DxeMain", 0) ;
|
PERF_START (NULL,"CoreInitializeDispatcher", "DxeMain", 0) ;
|
||||||
CoreInitializeDispatcher ();
|
CoreInitializeDispatcher ();
|
||||||
PERF_END (0,"CoreInitializeDispatcher", "DxeMain", 0) ;
|
PERF_END (NULL,"CoreInitializeDispatcher", "DxeMain", 0) ;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Invoke the DXE Dispatcher
|
// Invoke the DXE Dispatcher
|
||||||
//
|
//
|
||||||
PERF_START (0, "CoreDispatcher", "DxeMain", 0);
|
PERF_START (NULL, "CoreDispatcher", "DxeMain", 0);
|
||||||
CoreDispatcher ();
|
CoreDispatcher ();
|
||||||
PERF_END (0, "CoreDispatcher", "DxeMain", 0);
|
PERF_END (NULL, "CoreDispatcher", "DxeMain", 0);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Display Architectural protocols that were not loaded if this is DEBUG build
|
// Display Architectural protocols that were not loaded if this is DEBUG build
|
||||||
|
|
Loading…
Reference in New Issue