filename | src/sh4/sh4core.h |
changeset | 378:f10fbdd4e24b |
prev | 374:8f80a795513e |
next | 391:16afb90b5d47 |
author | nkeynes |
date | Tue Sep 18 09:12:30 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Ensure correct end-of-block PC Handle syscalls |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4core.h Tue Sep 11 02:14:46 2007 +00001.2 +++ b/src/sh4/sh4core.h Tue Sep 18 09:12:30 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: sh4core.h,v 1.22 2007-09-11 02:14:46 nkeynes Exp $1.6 + * $Id: sh4core.h,v 1.23 2007-09-12 09:20:38 nkeynes Exp $1.7 *1.8 * This file defines the internal functions exported/used by the SH4 core,1.9 * except for disassembly functions defined in sh4dasm.h1.10 @@ -23,6 +23,7 @@1.11 #include <glib/gtypes.h>1.12 #include <stdint.h>1.13 #include <stdio.h>1.14 +#include "mem.h"1.16 #ifdef __cplusplus1.17 extern "C" {1.18 @@ -80,9 +81,12 @@1.19 };1.21 extern struct sh4_registers sh4r;1.22 +extern struct breakpoint_struct sh4_breakpoints[MAX_BREAKPOINTS];1.23 +extern int sh4_breakpoint_count;1.24 +1.26 /* Public functions */1.27 -1.28 +void sh4_set_use_xlat( gboolean use );1.29 void sh4_init( void );1.30 void sh4_reset( void );1.31 void sh4_run( void );1.32 @@ -91,6 +95,7 @@1.33 int sh4_isrunning( void );1.34 void sh4_stop( void );1.35 void sh4_set_pc( int );1.36 +1.37 gboolean sh4_execute_instruction( void );1.38 gboolean sh4_raise_exception( int );1.39 gboolean sh4_raise_slot_exception( int, int );1.40 @@ -98,6 +103,7 @@1.41 void sh4_set_breakpoint( uint32_t pc, int type );1.42 gboolean sh4_clear_breakpoint( uint32_t pc, int type );1.43 int sh4_get_breakpoint( uint32_t pc );1.44 +void sh4_accept_interrupt( void );1.46 #define BREAK_ONESHOT 11.47 #define BREAK_PERM 2
.