tlb.h 355 B

12345678910111213
  1. #ifndef _CRIS_ARCH_TLB_H
  2. #define _CRIS_ARCH_TLB_H
  3. /* The TLB can host up to 64 different mm contexts at the same time.
  4. * The last page_id is never running - it is used as an invalid page_id
  5. * so we can make TLB entries that will never match.
  6. */
  7. #define NUM_TLB_ENTRIES 64
  8. #define NUM_PAGEID 64
  9. #define INVALID_PAGEID 63
  10. #define NO_CONTEXT -1
  11. #endif