GNAT/RTEMS pc386 - BIOS functions
Chris Johns
cjohns at cybertec.com.au
Fri Sep 1 22:19:13 UTC 2000
Chris Caudle wrote:
>
> >===== Original Message From Alejandro Villanueva <190921 at cepsz.unizar.es>
> =====
> >Thanks Chris, but... how do I get back to real mode?
>
> That I don't remember. You'll have to dig into the Intel manuals for that,
> but I usually stay away from it. You will probably have to save your current
> register state, and restore it when you come back. Jumping back and forth
> between real and protected mode is pretty messy.
>
I have no idea if this will work as I do not use the i386 port, but have
a look at the etherboot project on source forge :
http://etherboot.sourceforge.net/
Unpack the project and look for `_real_to_prot' and `_prot_to_real' in
`src/start32.S'.
--
Chris Johns, mailto:cjohns at cybertec.com.au mailto:ccj at acm.org
More information about the users
mailing list