Changeset ba5cff5 in mainline


Ignore:
Timestamp:
2012-12-03T21:57:19Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c0a7545
Parents:
5a00ee0
Message:

Define TLB_ENTRY_COUNT based on the CPU family.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/mm/tlb.h

    r5a00ee0 rba5cff5  
    4141#include <trace.h>
    4242
     43#if defined(PROCESSOR_R4000)
    4344#define TLB_ENTRY_COUNT  48
     45#elif defined(PROCESSOR_4Kc)
     46#define TLB_ENTRY_COUNT  16
     47#else
     48#error Please define TLB_ENTRY_COUNT for the target processor.
     49#endif
    4450
    4551#define TLB_WIRED               1
Note: See TracChangeset for help on using the changeset viewer.