In message <[EMAIL PROTECTED]>, John Baldwin writes:
>The short form is htat you need to hack the cpu_halt to call a function that
>puts a stub down in low memory, and calls it. This code needs to be mapped 1:1
>so that the logical address == physical address. The first thing you will
Yeah, I attempted something like this a few years ago without much
success. I've just updated the code to compile on -stable, and it
seems to half-work in that it appears to successfully switch to
real mode and clear the screen using the video BIOS, but then it
just hangs. That's pretty close to what I remember it doing
originally, although I think it might have worked before the VM86
stuff was enabled by default in FreeBSD. Getting this sort of code
to work reliably is almost impossible... Source is at
http://www.maths.tcd.ie/~iedowse/FreeBSD/diskboot/
(loading the resulting KLD immediately shuts down to real mode).
Ian
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message