1.1 --- a/src/sh4/sh4core.h Sun Dec 11 05:15:36 2005 +0000
1.2 +++ b/src/sh4/sh4core.h Fri Dec 23 11:44:55 2005 +0000
1.5 - * $Id: sh4core.h,v 1.3 2005-12-11 05:15:36 nkeynes Exp $
1.6 + * $Id: sh4core.h,v 1.4 2005-12-23 11:44:55 nkeynes Exp $
1.8 * This file defines the public functions exported by the SH4 core, except
1.9 * for disassembly functions defined in sh4dasm.h
1.19 void sh4_set_pc( int );
1.20 void sh4_execute_instruction( void );
1.21 void sh4_raise_exception( int, int );
1.22 +void sh4_set_breakpoint( uint32_t pc, int type );
1.24 +#define BREAK_ONESHOT 1
1.25 +#define BREAK_PERM 2
1.28 int32_t sh4_read_long( uint32_t addr );
1.30 void sh4_write_byte( uint32_t addr, uint32_t val );
1.31 int32_t sh4_read_phys_word( uint32_t addr );
1.33 -void run_timers( int );
1.34 +/* Peripheral functions */
1.35 +void DMAC_run_slice( int );
1.36 +void TMU_run_slice( int );
1.37 +void SCIF_run_slice( int );
1.38 +void SCIF_save_state( FILE *f );
1.39 +int SCIF_load_state( FILE *f );
1.41 #define SIGNEXT4(n) ((((int32_t)(n))<<28)>>28)
1.42 #define SIGNEXT8(n) ((int32_t)((int8_t)(n)))