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:
qhuang8
2008-09-12 01:12:31 +00:00
parent a8aba574e7
commit 7899b79715
4 changed files with 4 additions and 94 deletions

View File

@@ -511,13 +511,12 @@ FwVolDriverInit (
IN EFI_SYSTEM_TABLE *SystemTable
)
{
gEfiFwVolBlockEvent = CoreCreateProtocolNotifyEvent (
gEfiFwVolBlockEvent = EfiCreateProtocolNotifyEvent (
&gEfiFirmwareVolumeBlockProtocolGuid,
TPL_CALLBACK,
NotifyFwVolBlock,
NULL,
&gEfiFwVolBlockNotifyReg,
TRUE
&gEfiFwVolBlockNotifyReg
);
return EFI_SUCCESS;
}