1.1 --- a/src/sh4/mem.h Sat Mar 13 00:03:32 2004 +0000
1.2 +++ b/src/sh4/mem.h Sat Oct 02 05:49:39 2004 +0000
1.8 +typedef struct mem_region {
1.17 #define MAX_IO_REGIONS 24
1.18 #define MAX_MEM_REGIONS 8
1.20 void mem_init( void );
1.21 void mem_reset( void );
1.23 +#define ENABLE_WATCH 1
1.25 +#define WATCH_WRITE 1
1.26 +#define WATCH_READ 2
1.27 +#define WATCH_EXEC 3 /* AKA Breakpoint :) */
1.29 +typedef struct watch_point *watch_point_t;
1.31 +watch_point_t mem_new_watch( uint32_t start, uint32_t end, int flags );
1.32 +void mem_delete_watch( watch_point_t watch );
1.33 +watch_point_t mem_is_watched( uint32_t addr, int size, int op );
1.35 /* mmucr register bits */
1.36 #define MMUCR_AT 0x00000001 /* Address Translation enabled */