Go to the documentation of this file.
12 #ifndef __ASM_AVR32_MMU_CONTEXT_H
13 #define __ASM_AVR32_MMU_CONTEXT_H
15 #include <asm/tlbflush.h>
24 #define MMU_CONTEXT_ASID_MASK 0x000000ff
25 #define MMU_CONTEXT_VERSION_MASK 0xffffff00
26 #define MMU_CONTEXT_FIRST_VERSION 0x00000100
29 #define MMU_NO_ASID 0x100
32 #define MMU_VPN_MASK 0xfffff000
87 static inline void set_asid(
unsigned long asid)
94 static inline unsigned long get_asid(
void)
112 if (
likely(prev != next)) {
113 unsigned long __pgdir = (
unsigned long)next->
pgd;
120 #define deactivate_mm(tsk,mm) do { } while(0)
122 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
130 static inline void enable_mmu(
void)
143 static inline void disable_mmu(
void)