[OpenBIOS] [PATCH] Introduce forth_init() for trampoline initialization

Blue Swirl blauwirbel at gmail.com
Tue Nov 9 19:07:31 CET 2010

On Mon, Nov 8, 2010 at 11:20 PM, Andreas Färber <andreas.faerber at web.de> wrote:
> Move trampoline variable initialization to init_trampoline(),
> like in kernel/bootstrap.c.
> Add calls to a new forth_init() function for each architecture
> to invoke it. Idea courtesy of Blue.

Looks OK. I tried a slightly different approach (attached). I added
Mark's excellent analysis as a comment.

However, ppc64 does not build for me:
  GEN   bootstrap.dict
panic: segmentation violation at 0xccbd062c
dict=0x2aecccbd0010 here=0x2aecccbd0638(dict+0x628) pc=0x0(dict+0x3342fff0)
dstackcnt=0 rstackcnt=0 instruction=deadbeef
dstack: 0x0
rstack: 0x0
Writing dictionary core file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trampoline.diff
Type: plain/text
Size: 2455 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20101109/ea8b640e/attachment.bin>

More information about the OpenBIOS mailing list