In PlatformBdsPolicyBehavior() we should follow the same pattern as in
OvmfPkg's: after the consoles are connected,
- connect all drivers and devices,
- enumerate all boot options,
- enter the Intel BDS FrontPage if the user presses a key different from
Enter.
We set the countdown to 3 seconds, similarly to the timeout that we
specify for ARM BDS.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16569
6f19259b-4bc3-4df7-8a09-
765794883524
gArmVirtualizationTokenSpaceGuid.PcdFwCfgSelectorAddress|0x0\r
gArmVirtualizationTokenSpaceGuid.PcdFwCfgDataAddress|0x0\r
\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
+\r
################################################################################\r
#\r
# Components Section - list of all EDK II Modules needed by this Platform\r
\r
Status = PlatformBdsConnectConsole ();\r
ASSERT_EFI_ERROR (Status);\r
+\r
+ BdsLibConnectAll ();\r
+ BdsLibEnumerateAllBootOption (BootOptionList);\r
+ PlatformBdsEnterFrontPage (gPlatformBootTimeOutDefault, TRUE);\r
}\r
\r
/**\r
\r
#include <Guid/GlobalVariable.h>\r
\r
+VOID\r
+PlatformBdsEnterFrontPage (\r
+ IN UINT16 TimeoutDefault,\r
+ IN BOOLEAN ConnectAllHappened\r
+ );\r
+\r
#endif // _INTEL_BDS_PLATFORM_H\r