Kaffe 1.0.6 on ARM

Marcus Smith kaffe@rufus.w3.org
Tue, 19 Dec 2000 10:10:41 -0700



On Tue, 19 Dec 2000 01:11:53 Godmar Back wrote:
> 
> 
>  Oops, my fault.
> 
> I had even put that comment on top:
> //
> // Notes: 0xE1A0000F = mov ip, pc
> //        0xE59FF000 = ldr pc, [pc, #0]
> // NB:    0xE59FF004 = ldr pc, [pc, #4]
> 
> Btw, which CVSROOT do you use to get to "kaffe_all"?
> I'm using ":pserver:gback@cvs.kaffe.org:/cvs/kaffe", but
> I don't see a kaffe_all tag.  
> 
> 	- Godmar
> 
> > 
> > 
> > For those people wanting to utilize Kaffe 1.0.6 on ARM with JIT
> enabled.
> > 
> > In the file "jit.h", there is a macro called "FILL_IN_TRAMPOLINE(T, M,
> W).
> > 
> > Change "(T)->branch = 0xE59FF000" to 
> > "(T)->branch = 0xE59FF004".  This change allows JIT to work.  This
> > same change exists on the "kaffe_all" cvs trunk.
> > 
> > Marcus Smith
> > RidgeRun Inc.
> > 
> > On Fri, 15 Dec 2000 11:18:07 Marcus Smith wrote:
> > > 
> > > Hi,
> > > 
> > >   Has anyone looked at why kaffe 1.0.6 ported to ARM does not work in
> JIT
> > > mode?
> > > I get nice segmentation faults when I attempted this.  Seems to work
> OK
> > > in
> > > intrp mode.
> > > 
> > > Marcus Smith
> > > 
> > 
> 

Is there a good document that explains what a "trampoline" is?  By studying
the code, I think
I know, but it would be good to get a paragraph or two.

Thanks,

Marcus Smith