More headway today. I have made a start16.S which contains the
trampoline into 16bit mode. And loader.S just contains the code
specific to loading from a pcbios rom chip.
An interesting part of all of the refactoring is that now I have
elf images working for the pcbios etherboot case as well. Yah,
mode code isn't LinuxBIOS specific anymore...
The 64k etherboot limit is gone.
The big todo items left are:
- test non elf etherboot images, in pcbios mode.
- clean up allocation of the real mode stack. I initially
set it to 64k, and then move it to just below meminfo.basememsize
(the top of available real mode memory) after get_memsizes() is
called.
- make the pcbios exit function work again.
Hopefully in the next couple days I can get this checked in and
people not running LinuxBIOS can try this.
What do you think, etherboot recursively booting etherboot at
LinuxWorld?
Eric
|