0x0a, 0x0a, 0x0b, 0x0b\r
};\r
\r
-//\r
-// Array Size macro\r
-//\r
-#ifndef ARRAY_SIZE\r
-#define ARRAY_SIZE(array) (sizeof (array) / sizeof (array[0]))\r
-#endif\r
-\r
//\r
// Type definitions\r
//\r
NULL);\r
ASSERT_EFI_ERROR (Status);\r
\r
+ //\r
+ // Dispatch deferred images after EndOfDxe event and ReadyToLock installation.\r
+ //\r
+ EfiBootManagerDispatchDeferredImages ();\r
+\r
PlatformInitializeConsole (gPlatformConsole);\r
PcdStatus = PcdSet16S (PcdPlatformBootTimeOut,\r
GetFrontPageTimeoutFromQemu ());\r
// Get current Boot Mode\r
//\r
BootMode = GetBootModeHob ();\r
- DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", BootMode));\r
+ DEBUG ((DEBUG_INFO, "Boot Mode:%x\n", BootMode));\r
\r
//\r
// Go the different platform policy with different boot mode\r