Search
lxdream.org :: lxdream/src/sh4/sh4core.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.h
changeset 312:2c34bdc36cbd
prev302:96b5cc24309c
next359:c588dce7ebde
author nkeynes
date Tue Jan 23 08:17:06 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Save/restore MMU state (specifically the OC cache ram) correctly
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.h Wed Jan 17 21:27:20 2007 +0000
1.2 +++ b/src/sh4/sh4core.h Tue Jan 23 08:17:06 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4core.h,v 1.17 2007-01-17 21:27:20 nkeynes Exp $
1.6 + * $Id: sh4core.h,v 1.18 2007-01-23 08:17:06 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.h
1.10 @@ -128,6 +128,10 @@
1.11 void INTC_reset( void );
1.12 void INTC_save_state( FILE *f );
1.13 int INTC_load_state( FILE *f );
1.14 +void MMU_init( void );
1.15 +void MMU_reset( void );
1.16 +void MMU_save_state( FILE *f );
1.17 +int MMU_load_state( FILE *f );
1.18
1.19 #define SIGNEXT4(n) ((((int32_t)(n))<<28)>>28)
1.20 #define SIGNEXT8(n) ((int32_t)((int8_t)(n)))
.