From be29a7d336f7ca5a40afe1ed6bf0828b9a9b2a92 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 30 Jan 2005 22:53:13 +0000 Subject: [PATCH] Remove panic code. --- src/threads/start.S | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/threads/start.S b/src/threads/start.S index 4c6ed2f..e442839 100644 --- a/src/threads/start.S +++ b/src/threads/start.S @@ -61,7 +61,6 @@ start: mov ah, 0x88 int 0x15 - jc panic cli # BIOS might have enabled interrupts add eax, 1024 # Total kB memory cmp eax, 64 * 1024 @@ -169,20 +168,3 @@ gdt: gdtdesc: .word 0x17 # sizeof (gdt) - 1 .long gdt + LOADER_PHYS_BASE # address gdt - -#### Fatal error. -#### Print panicmsg (with help from the BIOS) and spin. - -panic: .code16 # We only panic in real mode. - mov si, offset panicmsg - mov ah, 0xe - sub bh, bh -1: lodsb - test al, al -2: jz 2b # Spin. - int 0x10 - jmp 1b - -panicmsg: - .ascii "Panic!" - .byte 0 -- 2.30.2