From 07eee4adec31f59ca282049249353b18aab6c94b Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Wed, 17 Oct 2007 07:05:33 +0000 Subject: [PATCH] added bootlog message if first app cannot be loaded git-svn-id: svn://kolibrios.org@653 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/data32.inc | 1 + kernel/trunk/kernel.asm | 3 +++ 2 files changed, 4 insertions(+) diff --git a/kernel/trunk/data32.inc b/kernel/trunk/data32.inc index 9694902b8..4e2ecd340 100644 --- a/kernel/trunk/data32.inc +++ b/kernel/trunk/data32.inc @@ -59,6 +59,7 @@ keymap_alt: boot_tsc db 'Reading TSC',0 boot_pal_ega db 'Setting EGA/CGA 320x200 palette',0 boot_pal_vga db 'Setting VGA 640x480 palette',0 + boot_failed db 'Failed to start first app',0 boot_mtrr db 'Setting MTRR',0 boot_tasking db 'All set - press ESC to start',0 diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 261be7101..ca5c1ad3e 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -799,6 +799,9 @@ no_load_vrr_m: cmp eax,2 ; continue if a process has been loaded je first_app_found + mov esi, boot_failed + call boot_log + mov eax, 0xDEADBEEF ; otherwise halt hlt