}\r
};\r
\r
-//\r
-// BDS Platform Functions\r
-//\r
-/**\r
- Do the platform init, can be customized by OEM/IBV\r
- Possible things that can be done in PlatformBootManagerBeforeConsole:\r
- > Update console variable: 1. include hot-plug devices;\r
- > 2. Clear ConIn and add SOL for AMT\r
- > Register new Driver#### or Boot####\r
- > Register new Key####: e.g.: F12\r
- > Signal ReadyToLock event\r
- > Authentication action: 1. connect Auth devices;\r
- > 2. Identify auto logon user.\r
-**/\r
-VOID\r
-EFIAPI\r
-PlatformBootManagerBeforeConsole (\r
- VOID\r
- )\r
-{\r
- //\r
- // Signal EndOfDxe PI Event\r
- //\r
- EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
-}\r
-\r
\r
/**\r
Check if the handle satisfies a particular condition.\r
}\r
\r
\r
+//\r
+// BDS Platform Functions\r
+//\r
/**\r
- Do the platform specific action after the console is ready\r
- Possible things that can be done in PlatformBootManagerAfterConsole:\r
- > Console post action:\r
- > Dynamically switch output mode from 100x31 to 80x25 for certain senarino\r
- > Signal console ready platform customized event\r
- > Run diagnostics like memory testing\r
- > Connect certain devices\r
- > Dispatch aditional option roms\r
- > Special boot: e.g.: USB boot, enter UI\r
+ Do the platform init, can be customized by OEM/IBV\r
+ Possible things that can be done in PlatformBootManagerBeforeConsole:\r
+ > Update console variable: 1. include hot-plug devices;\r
+ > 2. Clear ConIn and add SOL for AMT\r
+ > Register new Driver#### or Boot####\r
+ > Register new Key####: e.g.: F12\r
+ > Signal ReadyToLock event\r
+ > Authentication action: 1. connect Auth devices;\r
+ > 2. Identify auto logon user.\r
**/\r
VOID\r
EFIAPI\r
-PlatformBootManagerAfterConsole (\r
+PlatformBootManagerBeforeConsole (\r
VOID\r
)\r
{\r
+ //\r
+ // Signal EndOfDxe PI Event\r
+ //\r
+ EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
+\r
//\r
// Locate the PCI root bridges and make the PCI bus driver connect each,\r
// non-recursively. This will produce a number of child handles with PciIo on\r
(EFI_DEVICE_PATH_PROTOCOL *)&mSerialConsole, NULL);\r
EfiBootManagerUpdateConsoleVariable (ErrOut,\r
(EFI_DEVICE_PATH_PROTOCOL *)&mSerialConsole, NULL);\r
+}\r
\r
- //\r
- // Connect the consoles based on the above variables.\r
- //\r
- BdsLibConnectAllDefaultConsoles ();\r
-\r
+/**\r
+ Do the platform specific action after the console is ready\r
+ Possible things that can be done in PlatformBootManagerAfterConsole:\r
+ > Console post action:\r
+ > Dynamically switch output mode from 100x31 to 80x25 for certain senarino\r
+ > Signal console ready platform customized event\r
+ > Run diagnostics like memory testing\r
+ > Connect certain devices\r
+ > Dispatch aditional option roms\r
+ > Special boot: e.g.: USB boot, enter UI\r
+**/\r
+VOID\r
+EFIAPI\r
+PlatformBootManagerAfterConsole (\r
+ VOID\r
+ )\r
+{\r
//\r
// Show the splash screen.\r
//\r