Changeset 54aff98 in mainline


Ignore:
Timestamp:
2005-12-11T15:10:52Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c8e692
Parents:
dd14cced
Message:

Different sizes of TLB on mips32.
R4000 has 48 entries, 4kc has only 16 entries.

Location:
arch/mips32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/Makefile.inc

    rdd14cced r54aff98  
    8080        BFD_NAME = elf32-tradlittlemips
    8181        BFD = elf32-tradlittlemips
    82         CFLAGS += -mhard-float -mips3
     82        CFLAGS += -mhard-float -mips3 -DTLBCNT=16
     83        TLBCNT = 16
    8384endif
    8485ifeq ($(MIPS_MACHINE),msim)
  • arch/mips32/include/mm/tlb.h

    rdd14cced r54aff98  
    3333#include <typedefs.h>
    3434
    35 #define TLB_ENTRY_COUNT         48
     35#ifdef TLBCNT
     36#       define TLB_ENTRY_COUNT          TLBCNT
     37#else
     38#       define TLB_ENTRY_COUNT          48
     39#endif
    3640
    3741#define TLB_WIRED               1
Note: See TracChangeset for help on using the changeset viewer.