Search
lxdream.org :: lxdream :: r234:8759d0067e9d
lxdream 0.9.1
released Jun 29
Download Now
changeset234:8759d0067e9d
parent233:f8333b94f503
child235:880bff11df92
authornkeynes
dateTue Dec 12 09:18:47 2006 +0000 (13 years ago)
Disable watchpoints by default - save some cpu time and we're not really using them anyway
src/mem.h
src/sh4/sh4mem.c
1.1 --- a/src/mem.h Wed Sep 27 10:21:34 2006 +0000
1.2 +++ b/src/mem.h Tue Dec 12 09:18:47 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mem.h,v 1.10 2006-07-02 04:59:00 nkeynes Exp $
1.6 + * $Id: mem.h,v 1.11 2006-12-12 09:18:44 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 @@ -75,7 +75,7 @@
1.11 #define BREAK_ONESHOT 1
1.12 #define BREAK_KEEP 2
1.13
1.14 -#define ENABLE_WATCH 1
1.15 +#undef ENABLE_WATCH
1.16
1.17 #define WATCH_WRITE 1
1.18 #define WATCH_READ 2
2.1 --- a/src/sh4/sh4mem.c Wed Sep 27 10:21:34 2006 +0000
2.2 +++ b/src/sh4/sh4mem.c Tue Dec 12 09:18:47 2006 +0000
2.3 @@ -1,5 +1,5 @@
2.4 /**
2.5 - * $Id: sh4mem.c,v 1.15 2006-08-29 08:09:51 nkeynes Exp $
2.6 + * $Id: sh4mem.c,v 1.16 2006-12-12 09:18:47 nkeynes Exp $
2.7 * sh4mem.c is responsible for the SH4's access to memory (including memory
2.8 * mapped I/O), using the page maps created in mem.c
2.9 *
2.10 @@ -46,7 +46,7 @@
2.11 }
2.12 #else
2.13 #define CHECK_READ_WATCH( addr, size )
2.14 -#define CHECK_WRITE_WATCH( addr, size )
2.15 +#define CHECK_WRITE_WATCH( addr, size, val )
2.16 #endif
2.17
2.18 #define TRACE_IO( str, p, r, ... ) if(io_rgn[(uint32_t)p]->trace_flag && !MMIO_NOTRACE_BYNUM((uint32_t)p,r)) \
.