[maemo-developers] Java acceleration/Jazelle
From: Simon Pickering S.G.Pickering at bath.ac.ukDate: Fri Jul 13 23:28:19 EEST 2007
- Previous message: Experiences getting SystemTap work on Nokia N800
- Next message: Einstein (Newton Emulator) port to the N800; and it's gone open source
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Not such good news. I have learned alot about extended inline asm though. Anyway, my final code is here: http://people.bath.ac.uk/enpsgp/nokia770/jazelle/jazelle1.c It's changed a fair bit from my first untested code and should now work as planned. Unfortunately what happens is a segfault. So this immediately rules out the premise that the code pointed to by R12 is jumped to (I called bxj with both r12 and r14 as its argument, same results both times). If the bxj Rn is removed then the segfault goes away, so this appears to be causing it. I suppose the next step is to check and see which register is required to pass the Java bytecode address, and then try all other registers pointing to the bytecode 'handler' arm code to see if one doesn't produce a segfault. I'm assuming the segfault is caused because the process is trying to jump to an illegal address (because the relevant register is not set). Any other suggestions? Thanks, Simon
- Previous message: Experiences getting SystemTap work on Nokia N800
- Next message: Einstein (Newton Emulator) port to the N800; and it's gone open source
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]