Rev 3425 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3425 | Rev 4377 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
39 | #include <typedefs.h> |
39 | #include <typedefs.h> |
40 | #include <arch/mm/asid.h> |
40 | #include <arch/mm/asid.h> |
41 | #include <arch/exception.h> |
41 | #include <arch/exception.h> |
42 | 42 | ||
43 | #ifdef TLBCNT |
- | |
44 | # define TLB_ENTRY_COUNT TLBCNT |
- | |
45 | #else |
- | |
46 | # define TLB_ENTRY_COUNT 48 |
43 | #define TLB_ENTRY_COUNT 48 |
47 | #endif |
- | |
48 | 44 | ||
49 | #define TLB_WIRED 1 |
45 | #define TLB_WIRED 1 |
50 | #define TLB_KSTACK_WIRED_INDEX 0 |
46 | #define TLB_KSTACK_WIRED_INDEX 0 |
51 | 47 | ||
52 | #define TLB_PAGE_MASK_4K (0x000 << 13) |
48 | #define TLB_PAGE_MASK_4K (0x000 << 13) |