From 27ee58874e351b0382a8b8bcd6b49fc87fc4c29b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 19 Jan 2005 18:39:39 +0000 Subject: [PATCH] If the kernel image gets too big, "cmp ebx, KERNEL_LOAD_PAGES*8 + 1" assembles into 3 more bytes, which causes the image to be too big. This reduces the length of the panic message to compensate. --- src/threads/loader.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threads/loader.S b/src/threads/loader.S index 95ef9d9..11ab7c9 100644 --- a/src/threads/loader.S +++ b/src/threads/loader.S @@ -314,7 +314,7 @@ panic: .code16 # We only panic in real mode. jmp 1b panicmsg: - .ascii "Loader panic!\r\n" + .ascii "Panic!" .byte 0 #### Memory size in 4 kB pages. -- 2.30.2