Search
lxdream.org :: lxdream/src/mem.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.h
changeset 43:0cf3e339cc59
prev31:495e480360d7
next101:5a22f3699b67
author nkeynes
date Mon Dec 26 11:47:15 2005 +0000 (16 years ago)
permissions -rw-r--r--
last change Add sh4 + arm breakpoints
Hook up break button in GUI
Enable ARM slice in main loop
file annotate diff log raw
1.1 --- a/src/mem.h Sun Dec 25 08:24:11 2005 +0000
1.2 +++ b/src/mem.h Mon Dec 26 11:47:15 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mem.h,v 1.5 2005-12-25 08:24:07 nkeynes Exp $
1.6 + * $Id: mem.h,v 1.6 2005-12-26 11:47:12 nkeynes Exp $
1.7 *
1.8 * mem is responsible for creating and maintaining the overall system memory
1.9 * map, as visible from the SH4 processor. (Note the ARM has a different map)
1.10 @@ -56,6 +56,18 @@
1.11 void mem_init( void );
1.12 void mem_reset( void );
1.13
1.14 +#define ENABLE_DEBUG_MODE 1
1.15 +
1.16 +struct breakpoint_struct {
1.17 + uint32_t address;
1.18 + int type;
1.19 +};
1.20 +
1.21 +#define MAX_BREAKPOINTS 32
1.22 +#define BREAK_NONE 0
1.23 +#define BREAK_ONESHOT 1
1.24 +#define BREAK_KEEP 2
1.25 +
1.26 #define ENABLE_WATCH 1
1.27
1.28 #define WATCH_WRITE 1
.