Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef _CRIS_ARCH_TLB_H |
3 | #define _CRIS_ARCH_TLB_H | |
4 | ||
5 | /* The TLB can host up to 64 different mm contexts at the same time. | |
6 | * The last page_id is never running - it is used as an invalid page_id | |
7 | * so we can make TLB entries that will never match. | |
8 | */ | |
9 | #define NUM_TLB_ENTRIES 64 | |
10 | #define NUM_PAGEID 64 | |
11 | #define INVALID_PAGEID 63 | |
12 | #define NO_CONTEXT -1 | |
13 | ||
14 | #endif |