Skip to contentSkip to conversation

Mips improvements

PATCH New Thiemo Seufer 1 participant 1 message May 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 8/8 Mips improvements

Hello All,

this patch uses symbolic constants instead of magic numbers for the TLB handling.

Thiemo

target-mips/cpu.h +1 -1
Index: qemu-work/target-mips/cpu.h
===================================================================
@@ -52,7 +52,7 @@
     uint32_t fcsr;
 #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;
target-mips/helper.c +35 -32

145 lines not on this page · raw message