From c8079ef9c9e9407ee5f5295a2b7e3fc4ef26cc18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 17 Jun 2004 01:03:36 +0000 Subject: [PATCH] Now switched to the boot logo and back when necessary. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8017 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/loader/main.cpp | 2 ++ src/kernel/boot/loader/menu.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/kernel/boot/loader/main.cpp b/src/kernel/boot/loader/main.cpp index 2feec70855..7daebbd2ec 100644 --- a/src/kernel/boot/loader/main.cpp +++ b/src/kernel/boot/loader/main.cpp @@ -32,6 +32,8 @@ main(stage2_args *args) if (heap_init(args) < B_OK) panic("Could not initialize heap!\n"); + platform_switch_to_logo(); + TRACE(("boot(): heap initialized...\n")); // the main platform dependent initialisation diff --git a/src/kernel/boot/loader/menu.cpp b/src/kernel/boot/loader/menu.cpp index f203aab138..ad26a24f85 100644 --- a/src/kernel/boot/loader/menu.cpp +++ b/src/kernel/boot/loader/menu.cpp @@ -19,6 +19,8 @@ status_t user_menu(Directory **_bootVolume) { + platform_switch_to_text_mode(); + int32 index = 1; void *cookie; @@ -41,6 +43,7 @@ user_menu(Directory **_bootVolume) } puts("(it always tries to boot from the first for now...)"); + platform_switch_to_logo(); return B_OK; }