Search
lxdream.org :: lxdream/src/sh4/mmu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/mmu.c
changeset 1298:d0eb2307b847
prev1295:9067aff5522d
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (4 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/sh4/mmu.c Mon Oct 15 21:19:22 2012 +1000
1.2 +++ b/src/sh4/mmu.c Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -424,7 +424,7 @@
1.4
1.5 static void mmu_set_tlb_enabled( int tlb_on )
1.6 {
1.7 - mem_region_fn_t *ptr, *uptr;
1.8 + mem_region_fn_t *ptr;
1.9 int i;
1.10
1.11 /* Reset the storequeue area */
1.12 @@ -819,11 +819,8 @@
1.13
1.14 static void mmu_utlb_remove_entry( int entry )
1.15 {
1.16 - int i, j;
1.17 struct utlb_entry *ent = &mmu_utlb[entry];
1.18 sh4addr_t start_addr = ent->vpn&ent->mask;
1.19 - mem_region_fn_t *ptr = &sh4_address_space[start_addr >> 12];
1.20 - mem_region_fn_t *uptr = &sh4_user_address_space[start_addr >> 12];
1.21 gboolean unmap_user;
1.22 int npages = get_tlb_size_pages(ent->flags);
1.23
.