aboutsummaryrefslogtreecommitdiff
path: root/target-mips/cpu.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-14 17:15:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-14 17:15:19 +0000
commit43057ab1272ba2b9b052b19a3453fb0f3b510149 (patch)
treefc5f9fdb5393b9ea7e019d0c6ef089e0c9d6d2e8 /target-mips/cpu.h
parentc5d6edc3fc660fa188e3161f364ba73940219c10 (diff)
use constants for TLB handling (Thiemo Seufer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1978 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/cpu.h')
-rw-r--r--target-mips/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h
index de6be29d99..fcc1fdf887 100644
--- a/target-mips/cpu.h
+++ b/target-mips/cpu.h
@@ -87,7 +87,7 @@ struct CPUMIPSState {
#endif
#if defined(MIPS_USES_R4K_TLB)
- tlb_t tlb[16];
+ tlb_t tlb[MIPS_TLB_NB];
#endif
uint32_t CP0_index;
uint32_t CP0_random;