a7de32b2aa
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 :-) |
||
---|---|---|
.. | ||
aout_freebsd.c | ||
biosdisk.c | ||
biosmem.c | ||
bootinfo32.c | ||
bootinfo64.c | ||
bootinfo.c | ||
comconsole.c | ||
devicename.c | ||
gatea20.c | ||
i386_copy.c | ||
i386_module.c | ||
libi386.h | ||
Makefile | ||
pread.c | ||
time.c | ||
vidconsole.c |