Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
mmu_context.h File Reference
#include <asm/tlbflush.h>
#include <asm/sysreg.h>
#include <asm-generic/mm_hooks.h>

Go to the source code of this file.

Macros

#define MMU_CONTEXT_ASID_MASK   0x000000ff
 
#define MMU_CONTEXT_VERSION_MASK   0xffffff00
 
#define MMU_CONTEXT_FIRST_VERSION   0x00000100
 
#define NO_CONTEXT   0
 
#define MMU_NO_ASID   0x100
 
#define MMU_VPN_MASK   0xfffff000
 
#define deactivate_mm(tsk, mm)   do { } while(0)
 
#define activate_mm(prev, next)   switch_mm((prev), (next), NULL)
 

Variables

unsigned long mmu_context_cache
 

Macro Definition Documentation

#define activate_mm (   prev,
  next 
)    switch_mm((prev), (next), NULL)

Definition at line 122 of file mmu_context.h.

#define deactivate_mm (   tsk,
  mm 
)    do { } while(0)

Definition at line 120 of file mmu_context.h.

#define MMU_CONTEXT_ASID_MASK   0x000000ff

Definition at line 24 of file mmu_context.h.

#define MMU_CONTEXT_FIRST_VERSION   0x00000100

Definition at line 26 of file mmu_context.h.

#define MMU_CONTEXT_VERSION_MASK   0xffffff00

Definition at line 25 of file mmu_context.h.

#define MMU_NO_ASID   0x100

Definition at line 29 of file mmu_context.h.

#define MMU_VPN_MASK   0xfffff000

Definition at line 32 of file mmu_context.h.

#define NO_CONTEXT   0

Definition at line 27 of file mmu_context.h.

Variable Documentation

unsigned long mmu_context_cache

Definition at line 36 of file init.c.