]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-mips/cpu.h
use constants for TLB handling (Thiemo Seufer)
[mirror_qemu.git] / target-mips / cpu.h
index de6be29d99a4e1f1897aaa69d95d43d37d3358f7..fcc1fdf8874d45a0888fa3b76b2c2dbd339c02bf 100644 (file)
@@ -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;