]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to...
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Dispatcher / Dispatcher.c
index f1f940716cbd9950e3486c6d38e0e8eb469b7adc..7e6ddce77a0fd6cd4c81e9307d49ba4228cb6fb3 100644 (file)
@@ -442,6 +442,7 @@ CoreDispatcher (
       // skip the LoadImage\r
       //\r
       if (DriverEntry->ImageHandle == NULL) {\r
+        DEBUG ((DEBUG_INFO, "Loading driver %g\n", &DriverEntry->FileName));\r
         Status = CoreLoadImage (\r
                         FALSE,\r
                         gDxeCoreImageHandle,\r
@@ -961,15 +962,6 @@ CoreFwVolEventProtocolNotify (
       continue;\r
     }\r
 \r
-    Status = CoreHandleProtocol (FvHandle, &gEfiFirmwareVolumeDispatchProtocolGuid, (VOID **)&Fv);\r
-    if (EFI_ERROR (Status)) {\r
-      //\r
-      // If no dispatch protocol then skip, but do not marked as being processed as it\r
-      // may show up later.\r
-      //\r
-      continue;\r
-    }\r
-\r
     //\r
     // Since we are about to process this Fv mark it as processed.\r
     //\r