Search
lxdream.org :: lxdream :: r963:1c3a0f67c603
lxdream 0.9.1
released Jun 29
Download Now
changeset963:1c3a0f67c603
parent962:54a657069b81
child964:f2f3c7612d06
authornkeynes
dateThu Jan 15 03:54:21 2009 +0000 (12 years ago)
Fix missing prototype for mmu_vma_to_phys_disasm
Fix missing return value in mmu_ext_page_remapped
src/sh4/mmu.c
src/sh4/mmu.h
src/sh4/sh4dasm.in
src/test/testsh4x86.c
1.1 --- a/src/sh4/mmu.c Thu Jan 15 01:24:25 2009 +0000
1.2 +++ b/src/sh4/mmu.c Thu Jan 15 03:54:21 2009 +0000
1.3 @@ -400,6 +400,7 @@
1.4 sh4_user_address_space[(page|i)>>12] = fn;
1.5 }
1.6 }
1.7 + return TRUE;
1.8 }
1.9
1.10 static void mmu_set_tlb_enabled( int tlb_on )
2.1 --- a/src/sh4/mmu.h Thu Jan 15 01:24:25 2009 +0000
2.2 +++ b/src/sh4/mmu.h Thu Jan 15 03:54:21 2009 +0000
2.3 @@ -106,6 +106,7 @@
2.4 mem_region_fn_t tlb_multihit;
2.5 };
2.6
2.7 +sh4addr_t FASTCALL mmu_vma_to_phys_disasm( sh4vma_t vma );
2.8
2.9 void mmu_utlb_init_vtable( struct utlb_entry *ent, struct utlb_page_entry *page, gboolean writable );
2.10 void mmu_utlb_1k_init_vtable( struct utlb_1k_entry *ent );
3.1 --- a/src/sh4/sh4dasm.in Thu Jan 15 01:24:25 2009 +0000
3.2 +++ b/src/sh4/sh4dasm.in Thu Jan 15 03:54:21 2009 +0000
3.3 @@ -18,6 +18,7 @@
3.4
3.5 #include "sh4/sh4core.h"
3.6 #include "sh4/sh4dasm.h"
3.7 +#include "sh4/mmu.h"
3.8 #include "mem.h"
3.9
3.10 #define UNIMP(ir) snprintf( buf, len, "??? " )
4.1 --- a/src/test/testsh4x86.c Thu Jan 15 01:24:25 2009 +0000
4.2 +++ b/src/test/testsh4x86.c Thu Jan 15 03:54:21 2009 +0000
4.3 @@ -26,6 +26,7 @@
4.4 #include "sh4/sh4trans.h"
4.5 #include "sh4/sh4core.h"
4.6 #include "sh4/sh4mmio.h"
4.7 +#include "sh4/mmu.h"
4.8
4.9 struct dreamcast_module sh4_module;
4.10 struct mmio_region mmio_region_MMU;
.