Now that I know I can fake a stack and various other data in
the cache instead of RAM I'm trying to figure out how to best take
advantage of it. 

The simplest is to break linuxBIOS into two phases:
phase1 enable the RAM
phase2 initialize everything else.

Another idea is to break linuxBIOS into the phases:
phase1 turn on  the RAM
       initialize the hardware
phase2 initialize the RAM with new kernel & assorted data structures.

I like this because you can use the normal printk while turning the
RAM on.

The tricky part comes when switching from one phase to another,
because you need to ditch you bss, data, and stack that were living in
the facked ram of cache blocks.

Any ideas on how to structure the code?

Eric

Reply via email to