Date: Tue, 29 Sep 1998 02:11:50 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/boot/i386/libi386 aout_freebsd.c Message-ID: <199809290911.CAA19200@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/09/29 02:11:49 PDT Modified files: sys/boot/i386/libi386 aout_freebsd.c Log: The bootinfo struct was getting clobbered or not passed through correctly. Presumably VTOP doesn't work for static objects. The easiest way to get it working was to reserve some space after the environment strings and copy the bootinfo struct there. Also, set RB_BOOTINFO, it's needed. I got the code to load and run an unmolested kernel OK for the first time with this system a few minutes ago - at last!. I did have to stop it looking at the floppy though as BTX was trapping a mode 14 fault when it look for /boot/boot.conf when no disk was in the drive. (I'm booting from a scsi disk (bios disk 0x80)). Now to teach it about ELF and modules :-) Revision Changes Path 1.6 +14 -2 src/sys/boot/i386/libi386/aout_freebsd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809290911.CAA19200>