1.1 --- a/src/sh4/sh4trans.c Thu Oct 04 08:47:27 2007 +0000
1.2 +++ b/src/sh4/sh4trans.c Thu Oct 11 08:20:38 2007 +0000
1.5 - * $Id: sh4trans.c,v 1.7 2007-10-04 08:47:27 nkeynes Exp $
1.6 + * $Id: sh4trans.c,v 1.8 2007-10-08 12:06:01 nkeynes Exp $
1.8 * SH4 translation core module. This part handles the non-target-specific
1.9 * section of the translation.
1.11 * GNU General Public License for more details.
1.14 -#include "sh4core.h"
1.15 -#include "sh4trans.h"
1.16 -#include "xltcache.h"
1.17 +#include "eventq.h"
1.18 +#include "syscall.h"
1.19 +#include "sh4/sh4core.h"
1.20 +#include "sh4/sh4trans.h"
1.21 +#include "sh4/xltcache.h"
1.24 * Execute a timeslice using translated code only (ie translate/execute loop)
1.27 uint32_t sh4_xlat_run_slice( uint32_t nanosecs )
1.30 sh4r.slice_cycle = 0;
1.32 if( sh4r.sh4_state != SH4_STATE_RUNNING ) {
1.35 void *sh4_translate_and_run( sh4addr_t start )
1.38 + unsigned char buf[65536];
1.40 - uint32_t pc = start;
1.41 + sh4addr_t pc = start;
1.44 uint8_t *eob = xlat_output + sizeof(buf);