[LinuxBIOS] patch to lib/lar.c and include/lar.h

ron minnich rminnich at gmail.com
Sun Dec 16 03:00:43 CET 2007


These changes are needed to allow initram to chain to subsequent
stage1 phases, per the earlier discussion.

The chaining is needed since initram is going to call disable_car,
which may, among other things, move the stack around
or even lose the contents of stack. Support a return from disable_car
is a very difficult proposition.

The intent is that I can do this:
ret = execute_in_place(&archive, "normal/initram/segment0", main_ram_working);
or similar and thus chain from initram to the second part of main,
with a new stack and working dram.

ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liblar.diff
Type: text/x-patch
Size: 2856 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071215/0b2787a6/attachment.diff>


More information about the coreboot mailing list