Skip to contentSkip to conversation

Less magic TLB constants

PATCH New Thiemo Seufer 1 participant 1 message Mar 6, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Less magic TLB constants

Hello All,

some more magic constants replacement in MIPS TLB related code.

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 +32 -29

142 lines not on this page · raw message