mmu_context.h 643 B

12345678910111213141516171819202122
  1. #ifndef __ASM_SH_CPU_SH5_MMU_CONTEXT_H
  2. #define __ASM_SH_CPU_SH5_MMU_CONTEXT_H
  3. /* Common defines */
  4. #define TLB_STEP 0x00000010
  5. #define TLB_PTEH 0x00000000
  6. #define TLB_PTEL 0x00000008
  7. /* PTEH defines */
  8. #define PTEH_ASID_SHIFT 2
  9. #define PTEH_VALID 0x0000000000000001
  10. #define PTEH_SHARED 0x0000000000000002
  11. #define PTEH_MATCH_ASID 0x00000000000003ff
  12. #ifndef __ASSEMBLY__
  13. /* This has to be a common function because the next location to fill
  14. * information is shared. */
  15. extern void __do_tlb_refill(unsigned long address, unsigned long long is_text_not_data, pte_t *pte);
  16. #endif /* __ASSEMBLY__ */
  17. #endif /* __ASM_SH_CPU_SH5_MMU_CONTEXT_H */