use constants for TLB handling (Thiemo Seufer)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1978 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-06-14 17:15:19 +00:00
parent c5d6edc3fc
commit 43057ab127
2 changed files with 36 additions and 33 deletions

View 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;