1.1 --- a/src/sh4/mmu.c Tue Jan 22 09:45:21 2008 +0000
1.2 +++ b/src/sh4/mmu.c Thu May 15 10:22:39 2008 +0000
1.5 #include "sh4/sh4mmio.h"
1.6 #include "sh4/sh4core.h"
1.7 +#include "sh4/sh4trans.h"
1.10 #define VMA_TO_EXT_ADDR(vma) ((vma)&0x1FFFFFFF)
1.12 case TLB_SIZE_4K: return MASK_4K;
1.13 case TLB_SIZE_64K: return MASK_64K;
1.14 case TLB_SIZE_1M: return MASK_1M;
1.15 + default: return 0; /* Unreachable */
1.20 * Find a UTLB entry for the associative TLB write - same as the normal
1.21 * lookup but ignores the valid bit.
1.23 -static inline mmu_utlb_lookup_assoc( uint32_t vpn, uint32_t asid )
1.24 +static inline int mmu_utlb_lookup_assoc( uint32_t vpn, uint32_t asid )
1.29 * Find a ITLB entry for the associative TLB write - same as the normal
1.30 * lookup but ignores the valid bit.
1.32 -static inline mmu_itlb_lookup_assoc( uint32_t vpn, uint32_t asid )
1.33 +static inline int mmu_itlb_lookup_assoc( uint32_t vpn, uint32_t asid )