aboutsummaryrefslogtreecommitdiffstats
path: root/src/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.c')
-rw-r--r--src/boot.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/boot.c b/src/boot.c
index 19e16f3a..36450f0c 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -236,6 +236,7 @@ interactive_bootmenu(void)
;
printf("Select boot device:\n\n");
+ wait_threads();
int subcount[ARRAY_SIZE(IPL.bev)];
int menupos = 1;
@@ -306,13 +307,16 @@ run_bcv(struct ipl_entry_s *ie)
void
boot_prep(void)
{
- if (! CONFIG_BOOT)
+ if (! CONFIG_BOOT) {
+ wait_threads();
return;
+ }
// XXX - show available drives?
// Allow user to modify BCV/IPL order.
interactive_bootmenu();
+ wait_threads();
// Setup floppy boot order
int override = IPL.bev[0].subchoice;