summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/FwVol
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-12 01:12:31 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-12 01:12:31 +0000
commit7899b7971577075095266cc2af2010f2827e4096 (patch)
tree6514934da22b6dc4b1af22b87c465a31eedf02dd /MdeModulePkg/Core/Dxe/FwVol
parenta8aba574e722ee8ea4e8774348c58bbc25d0959b (diff)
downloadedk2-7899b7971577075095266cc2af2010f2827e4096.tar.gz
edk2-7899b7971577075095266cc2af2010f2827e4096.tar.bz2
edk2-7899b7971577075095266cc2af2010f2827e4096.zip
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')
-rw-r--r--MdeModulePkg/Core/Dxe/FwVol/FwVol.c5
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;
}