]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
Change PeiMain/DxeMain's base name to PeiCore/DxeCore.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Dispatcher / Dispatcher.c
index ba8734e1d6786f4bfe251fe5d40f5608fa5df107..b2faff1a867ad6f7ed5f72e4958a135be438040c 100644 (file)
@@ -492,14 +492,21 @@ CoreDispatcher (
 \r
       CoreReleaseDispatcherLock ();\r
 \r
-      CoreReportProgressCodeSpecific (\r
\r
+      REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
+        EFI_PROGRESS_CODE,\r
         FixedPcdGet32(PcdStatusCodeValueDxeDriverBegin),\r
-        DriverEntry->ImageHandle\r
+        &DriverEntry->ImageHandle,\r
+        sizeof (DriverEntry->ImageHandle)\r
         );\r
+\r
       Status = CoreStartImage (DriverEntry->ImageHandle, NULL, NULL);\r
-      CoreReportProgressCodeSpecific (\r
+\r
+      REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
+        EFI_PROGRESS_CODE,\r
         FixedPcdGet32(PcdStatusCodeValueDxeDriverEnd),\r
-        DriverEntry->ImageHandle\r
+        &DriverEntry->ImageHandle,\r
+        sizeof (DriverEntry->ImageHandle)\r
         );\r
 \r
       ReturnStatus = EFI_SUCCESS;\r
@@ -1133,13 +1140,12 @@ CoreInitializeDispatcher (
   VOID\r
   )\r
 {\r
-  mFwVolEvent = CoreCreateProtocolNotifyEvent (\r
+  mFwVolEvent = EfiCreateProtocolNotifyEvent (\r
                   &gEfiFirmwareVolume2ProtocolGuid,\r
                   TPL_CALLBACK,\r
                   CoreFwVolEventProtocolNotify,\r
                   NULL,\r
-                  &mFwVolEventRegistration,\r
-                  TRUE\r
+                  &mFwVolEventRegistration\r
                   );\r
 }\r
 \r