diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-12 01:12:31 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-12 01:12:31 +0000 |
commit | 7899b7971577075095266cc2af2010f2827e4096 (patch) | |
tree | 6514934da22b6dc4b1af22b87c465a31eedf02dd /MdeModulePkg/Core/Dxe/FwVol/FwVol.c | |
parent | a8aba574e722ee8ea4e8774348c58bbc25d0959b (diff) | |
download | edk2-platforms-7899b7971577075095266cc2af2010f2827e4096.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Core/Dxe/FwVol/FwVol.c')
-rw-r--r-- | MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c index f62be8ff43..c236282d46 100644 --- a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c @@ -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;
}
|