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 <linux/errno.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <asm-generic/mm_hooks.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/scoreregs.h>

Go to the source code of this file.

Macros

#define TLBMISS_HANDLER_SETUP_PGD(pgd)   (pgd_current = (unsigned long)(pgd))
 
#define TLBMISS_HANDLER_SETUP()
 
#define ASID_VERSION_MASK   0xfffff000
 
#define ASID_FIRST_VERSION   0x1000
 
#define ASID_INC   0x10
 
#define ASID_MASK   0xff0
 

Variables

unsigned long asid_cache
 
unsigned long pgd_current
 

Macro Definition Documentation

#define ASID_FIRST_VERSION   0x1000

Definition at line 34 of file mmu_context.h.

#define ASID_INC   0x10

Definition at line 39 of file mmu_context.h.

#define ASID_MASK   0xff0

Definition at line 40 of file mmu_context.h.

#define ASID_VERSION_MASK   0xfffff000

Definition at line 33 of file mmu_context.h.

#define TLBMISS_HANDLER_SETUP ( )
Value:
do { \
write_c0_context(0); \
TLBMISS_HANDLER_SETUP_PGD(swapper_pg_dir) \
} while (0)

Definition at line 23 of file mmu_context.h.

#define TLBMISS_HANDLER_SETUP_PGD (   pgd)    (pgd_current = (unsigned long)(pgd))

Definition at line 21 of file mmu_context.h.

Variable Documentation

unsigned long asid_cache

Definition at line 84 of file cpu-info.h.

unsigned long pgd_current

Definition at line 470 of file init.c.