diff options
Diffstat (limited to 'include/asm-cris/arch-v10/tlb.h')
-rw-r--r-- | include/asm-cris/arch-v10/tlb.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v10/tlb.h b/include/asm-cris/arch-v10/tlb.h new file mode 100644 index 000000000000..31525bbe75c3 --- /dev/null +++ b/include/asm-cris/arch-v10/tlb.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef _CRIS_ARCH_TLB_H | ||
2 | #define _CRIS_ARCH_TLB_H | ||
3 | |||
4 | /* The TLB can host up to 64 different mm contexts at the same time. | ||
5 | * The last page_id is never running - it is used as an invalid page_id | ||
6 | * so we can make TLB entries that will never match. | ||
7 | */ | ||
8 | #define NUM_TLB_ENTRIES 64 | ||
9 | #define NUM_PAGEID 64 | ||
10 | #define INVALID_PAGEID 63 | ||
11 | #define NO_CONTEXT -1 | ||
12 | |||
13 | #endif | ||