Rev 599 | Rev 831 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 599 | Rev 600 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | #define __mips32_TLB_H__ |
30 | #define __mips32_TLB_H__ |
| 31 | 31 | ||
| 32 | #include <arch/exception.h> |
32 | #include <arch/exception.h> |
| 33 | #include <typedefs.h> |
33 | #include <typedefs.h> |
| 34 | 34 | ||
| - | 35 | #ifdef TLBCNT |
|
| - | 36 | # define TLB_ENTRY_COUNT TLBCNT |
|
| - | 37 | #else |
|
| 35 | #define TLB_ENTRY_COUNT 48 |
38 | # define TLB_ENTRY_COUNT 48 |
| - | 39 | #endif |
|
| 36 | 40 | ||
| 37 | #define TLB_WIRED 1 |
41 | #define TLB_WIRED 1 |
| 38 | #define TLB_KSTACK_WIRED_INDEX 0 |
42 | #define TLB_KSTACK_WIRED_INDEX 0 |
| 39 | 43 | ||
| 40 | #define TLB_PAGE_MASK_16K (0x3<<13) |
44 | #define TLB_PAGE_MASK_16K (0x3<<13) |