--- a/src/xlat/x86/ia32abi.h Sun Jul 05 13:54:48 2009 +1000 +++ b/src/xlat/x86/ia32abi.h Tue Jul 13 18:23:16 2010 +1000 @@ -132,6 +132,8 @@ #endif +#define PROLOGUE_SIZE 9 + /** * Emit the 'start of block' assembly. Sets up the stack frame and save * SI/DI as required @@ -142,6 +144,7 @@ { PUSH_r32(REG_EBP); SUBL_imms_r32( 8, REG_ESP ); + MOVP_immptr_rptr( ((uint8_t *)&sh4r) + 128, REG_EBP ); } static inline void exit_block( )