Linux 5.7.7
[linux/fpc-iii.git] / arch / sh / include / cpu-sh5 / cpu / mmu_context.h
blob23c53be945b7fd9e55550146aed9ab6d548874ca
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_CPU_SH5_MMU_CONTEXT_H
3 #define __ASM_SH_CPU_SH5_MMU_CONTEXT_H
5 /* Common defines */
6 #define TLB_STEP 0x00000010
7 #define TLB_PTEH 0x00000000
8 #define TLB_PTEL 0x00000008
10 /* PTEH defines */
11 #define PTEH_ASID_SHIFT 2
12 #define PTEH_VALID 0x0000000000000001
13 #define PTEH_SHARED 0x0000000000000002
14 #define PTEH_MATCH_ASID 0x00000000000003ff
16 #ifndef __ASSEMBLY__
17 /* This has to be a common function because the next location to fill
18 * information is shared. */
19 extern void __do_tlb_refill(unsigned long address, unsigned long long is_text_not_data, pte_t *pte);
20 #endif /* __ASSEMBLY__ */
22 #endif /* __ASM_SH_CPU_SH5_MMU_CONTEXT_H */