summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c')
-rw-r--r--MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
index 0936fad997..b2faff1a86 100644
--- a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
@@ -1140,13 +1140,12 @@ CoreInitializeDispatcher (
VOID
)
{
- mFwVolEvent = CoreCreateProtocolNotifyEvent (
+ mFwVolEvent = EfiCreateProtocolNotifyEvent (
&gEfiFirmwareVolume2ProtocolGuid,
TPL_CALLBACK,
CoreFwVolEventProtocolNotify,
NULL,
- &mFwVolEventRegistration,
- TRUE
+ &mFwVolEventRegistration
);
}