Search
lxdream.org :: lxdream :: r499:14b86c78d111
lxdream 0.9.1
released Jun 29
Download Now
changeset499:14b86c78d111
parent498:10d5ba99a778
child500:848e66eee418
authornkeynes
dateThu Nov 08 10:49:16 2007 +0000 (12 years ago)
Add some required extern methods
src/test/testsh4x86.c
1.1 --- a/src/test/testsh4x86.c Thu Nov 08 10:48:41 2007 +0000
1.2 +++ b/src/test/testsh4x86.c Thu Nov 08 10:49:16 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: testsh4x86.c,v 1.5 2007-09-16 07:01:35 nkeynes Exp $
1.6 + * $Id: testsh4x86.c,v 1.6 2007-11-08 10:49:16 nkeynes Exp $
1.7 *
1.8 * Test cases for the SH4 => x86 translator core. Takes as
1.9 * input a binary SH4 object (and VMA), generates the
1.10 @@ -78,6 +78,13 @@
1.11 void syscall_invoke( uint32_t val ) { }
1.12 uint32_t sh4_read_sr( void ) { }
1.13 gboolean sh4_raise_exception( int exc ) {}
1.14 +gboolean sh4_raise_trap( int exc ) {}
1.15 +void sh4_sleep() { }
1.16 +void sh4_fsca( uint32_t angle, float *fr ) { }
1.17 +void sh4_ftrv( float *fv, float *xmtrx ) { }
1.18 +void signsat48(void) { }
1.19 +uint16_t *sh4_icache = NULL;
1.20 +uint32_t sh4_icache_addr = 0;
1.21
1.22 void usage()
1.23 {
.