Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 569:a1c49e1e8776
prev566:59be465e5f01
next571:9bc09948d0f2
author nkeynes
date Fri Jan 04 11:54:17 2008 +0000 (13 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Bring icache partially into line with the mmu, a little less slow with AT off
now.
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Tue Jan 01 08:57:33 2008 +0000
1.2 +++ b/src/sh4/sh4.c Fri Jan 04 11:54:17 2008 +0000
1.3 @@ -48,18 +48,9 @@
1.4 struct sh4_registers sh4r;
1.5 struct breakpoint_struct sh4_breakpoints[MAX_BREAKPOINTS];
1.6 int sh4_breakpoint_count = 0;
1.7 -extern sh4ptr_t sh4_main_ram;
1.8 +sh4ptr_t sh4_main_ram;
1.9 static gboolean sh4_use_translator = FALSE;
1.10 -
1.11 -struct sh4_icache_info {
1.12 - char *page;
1.13 - uint32_t page_start;
1.14 - uint32_t page_size;
1.15 -};
1.16 -
1.17 -extern struct sh4_icache_info sh4_icache;
1.18 -
1.19 -// struct sh4_icache_info sh4_icache = { NULL, -1, -1 };
1.20 +struct sh4_icache_struct sh4_icache = { NULL, -1, -1, 0 };
1.21
1.22 void sh4_set_use_xlat( gboolean use )
1.23 {
.