--- a/src/mem.h Sun Dec 25 08:24:11 2005 +0000 +++ b/src/mem.h Mon Dec 26 11:47:15 2005 +0000 @@ -1,5 +1,5 @@ /** - * $Id: mem.h,v 1.5 2005-12-25 08:24:07 nkeynes Exp $ + * $Id: mem.h,v 1.6 2005-12-26 11:47:12 nkeynes Exp $ * * mem is responsible for creating and maintaining the overall system memory * map, as visible from the SH4 processor. (Note the ARM has a different map) @@ -56,6 +56,18 @@ void mem_init( void ); void mem_reset( void ); +#define ENABLE_DEBUG_MODE 1 + +struct breakpoint_struct { + uint32_t address; + int type; +}; + +#define MAX_BREAKPOINTS 32 +#define BREAK_NONE 0 +#define BREAK_ONESHOT 1 +#define BREAK_KEEP 2 + #define ENABLE_WATCH 1 #define WATCH_WRITE 1