BCC...
Takeshi Sone
ts1 at tsn.or.jp
Sat Mar 13 04:46:00 CET 2004
On Tue, Mar 09, 2004 at 08:10:32AM -0700, ron minnich wrote:
> On 8 Mar 2004, Eric W. Biederman wrote:
> > rombios.c or whatever the PCBIOS compatibility layer winds up being must
> > be 16bit code, (even if it has 32bit extensions all over the place).
> > I'm not certain gcc can be convinced to do a reasonable job of 16bit C
> > code.
>
> what's wrong with what we did for vga extensions, a 16-bit hook into
> 32-bit code? It has worked well for those who wanted native vga.
Some OSs call 16-bit BIOS services in VM86 mode.
In that case you can't switch to 32-bit mode by yourself.
Eric, how about modifying GCC to generate true 16-bit code?
--
Takeshi
More information about the coreboot
mailing list