Remove the internal CoreCreateProtocolNotifyEvent() in DxeCore, for UefiLib provide the similar function EfiCreateProtocolNotifyEvent(). DxeCore can use that library function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5883 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1140,13 +1140,12 @@ CoreInitializeDispatcher (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
mFwVolEvent = CoreCreateProtocolNotifyEvent (
|
||||
mFwVolEvent = EfiCreateProtocolNotifyEvent (
|
||||
&gEfiFirmwareVolume2ProtocolGuid,
|
||||
TPL_CALLBACK,
|
||||
CoreFwVolEventProtocolNotify,
|
||||
NULL,
|
||||
&mFwVolEventRegistration,
|
||||
TRUE
|
||||
&mFwVolEventRegistration
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user