From 139020888fb7755adbc58de3973a9d148013aa97 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 17 May 1995 07:37:53 +0000 Subject: [PATCH] Reviewed by: phk Submitted by: DI. Christian Gusenbauer The `howto' arg to boot() was not supplied, so it was stack garbage (actually the return address in the boot program). I didn't use the submitted fix. --- sys/i386/boot/kzipboot/head.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/i386/boot/kzipboot/head.S b/sys/i386/boot/kzipboot/head.S index a3e8e6d74a92..e720082ba93e 100644 --- a/sys/i386/boot/kzipboot/head.S +++ b/sys/i386/boot/kzipboot/head.S @@ -5,6 +5,8 @@ .text start: cli # disable interrupts + pushl 4(%esp) # pass howto arg call _boot # unpack the kernel image + popl %eax # discard howto arg ljmp $CSEG, $KADDR # jump to unpacked kernel . = start + 0x500 # skip over warm boot shit