Go to the documentation of this file.
10 #ifndef __ASM_SH_TLB_64_H
11 #define __ASM_SH_TLB_64_H
14 #define ITLB_FIXED 0x00000000
15 #define ITLB_LAST_VAR_UNRESTRICTED 0x000003F0
18 #define DTLB_FIXED 0x00800000
19 #define DTLB_LAST_VAR_UNRESTRICTED 0x008003F0
28 #define for_each_dtlb_entry(tlb) \
29 for (tlb = cpu_data->dtlb.first; \
30 tlb <= cpu_data->dtlb.last; \
31 tlb += cpu_data->dtlb.step)
38 #define for_each_itlb_entry(tlb) \
39 for (tlb = cpu_data->itlb.first; \
40 tlb <= cpu_data->itlb.last; \
41 tlb += cpu_data->itlb.step)
48 static inline void __flush_tlb_slot(
unsigned long long slot)
50 __asm__ __volatile__ (
"putcfg %0, 0, r63\n" : :
"r" (slot));
63 #define sh64_tlb_init() do { } while (0)
64 #define sh64_next_free_dtlb_entry() (0)
65 #define sh64_get_wired_dtlb_entry() (0)
66 #define sh64_put_wired_dtlb_entry(entry) do { } while (0)
67 #define sh64_setup_tlb_slot(conf, virt, asid, phys) do { } while (0)
68 #define sh64_teardown_tlb_slot(addr) do { } while (0)