Search
lxdream.org :: lxdream/src/sh4/sh4.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.h
changeset 566:59be465e5f01
prev564:dc7b5ffb0535
next571:9bc09948d0f2
author nkeynes
date Tue Jan 01 08:57:33 2008 +0000 (13 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Add breakpoint_type_t enum (general cleanup)
file annotate diff log raw
1.1 --- a/src/sh4/sh4.h Tue Jan 01 08:37:26 2008 +0000
1.2 +++ b/src/sh4/sh4.h Tue Jan 01 08:57:33 2008 +0000
1.3 @@ -21,6 +21,7 @@
1.4 #define lxdream_sh4_H 1
1.5
1.6 #include "lxdream.h"
1.7 +#include "mem.h"
1.8
1.9 #ifdef __cplusplus
1.10 extern "C" {
1.11 @@ -108,17 +109,10 @@
1.12 gboolean sh4_execute_instruction( void );
1.13
1.14 /* SH4 breakpoints */
1.15 -
1.16 -#define BREAK_ONESHOT 1
1.17 -#define BREAK_PERM 2
1.18 -
1.19 -void sh4_set_breakpoint( uint32_t pc, int type );
1.20 -gboolean sh4_clear_breakpoint( uint32_t pc, int type );
1.21 +void sh4_set_breakpoint( uint32_t pc, breakpoint_type_t type );
1.22 +gboolean sh4_clear_breakpoint( uint32_t pc, breakpoint_type_t type );
1.23 int sh4_get_breakpoint( uint32_t pc );
1.24
1.25 -
1.26 -
1.27 -
1.28 #ifdef __cplusplus
1.29 }
1.30 #endif
.