Revision 3c7b48b7 target-mips/helper.c

b/target-mips/helper.c
34 34
    TLBRET_MATCH = 0
35 35
};
36 36

  
37
#if !defined(CONFIG_USER_ONLY)
38

  
37 39
/* no MMU emulation */
38 40
int no_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot,
39 41
                        target_ulong address, int rw, int access_type)
......
98 100
    return TLBRET_NOMATCH;
99 101
}
100 102

  
101
#if !defined(CONFIG_USER_ONLY)
102 103
static int get_physical_address (CPUState *env, target_phys_addr_t *physical,
103 104
                                int *prot, target_ulong address,
104 105
                                int rw, int access_type)
......
599 600
    env->exception_index = EXCP_NONE;
600 601
}
601 602

  
603
#if !defined(CONFIG_USER_ONLY)
602 604
void r4k_invalidate_tlb (CPUState *env, int idx, int use_extra)
603 605
{
604 606
    r4k_tlb_t *tlb;
......
652 654
        }
653 655
    }
654 656
}
657
#endif

Also available in: Unified diff