[coreboot] [RFC] port bochs-bios to gcc
junkoi2004 at gmail.com
Mon Feb 25 10:56:16 CET 2008
On 2/25/08, Stefan Reinauer <stepan at coresystems.de> wrote:
> Jun Koi wrote:
> > Hi Kevin,
> > On 2/22/08, Kevin O'Connor <kevin at koconnor.net> wrote:
> >> FYI. I'm interested in reviving the ADLO effort. I sent the
> >> following email to the bochs developers mailing list.
> > I think one of the reasons why they wrote the BIOS in asm is because
> > it makes the result code small, as the size is limited in 64KB. What
> > do you do to make sure that the ported code stays within the limit?
> plus, some addresses in those 64k are hard wired to specific interrupt
> handlers. Quite some code out there assumes this.
Kevin solved that by putting some in asm (romlayout.S)
> It's still possible, but it wont be completely clean and easy.
Yes, but now the asm code significantly reduced!
The curent code is not complete, but looks pretty clean. This is
definitely way to go. Keep it up, Kevin!
More information about the coreboot