On 10/22/14 22:39, Paolo Bonzini wrote: > > > On 10/22/2014 09:17 PM, Laszlo Ersek wrote: >> Sigh. If I set PcdPlatformBootTimeOut to 0, then the progress bar is not >> shown, but a user keypress is also not picked up. >> >> Therefore the minimum I could set is 1 second, which would increase the >> boot time by 0.7 seconds. Let me know how you want me to proceed. > > Could it use the fw_cfg file etc/boot-menu-wait and FW_CFG_BOOT_MENU > (equal to -boot menu=on)? If no boot menu is requested, it's okay not > to pick up a user keypress.
I'm not sure I understand correctly -- are you suggesting to look at some fw_cfg file, and based on what we find, pass TimeoutDefault=0 vs. TimeoutDefault>=1 to PlatformBdsEnterFrontPage()? If so, what is the default value of this fw_cfg file? I'm afraid that, if it caused a zero timeout by default, it would regress the user experience (because users couldn't enter the boot menu in the usual way, without explicitly setting -boot menu=on). Thanks Laszlo ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel