Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
context.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/percpu.h>
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>
#include <asm/cachetype.h>

Go to the source code of this file.

Macros

#define asid_bits(reg)   (((read_cpuid(ID_AA64MMFR0_EL1) & 0xf0) >> 2) + 8)
 
#define ASID_FIRST_VERSION   (1 << MAX_ASID_BITS)
 

Functions

void __init_new_context (struct task_struct *tsk, struct mm_struct *mm)
 
void __new_context (struct mm_struct *mm)
 

Variables

unsigned int cpu_last_asid = ASID_FIRST_VERSION
 

Macro Definition Documentation

#define asid_bits (   reg)    (((read_cpuid(ID_AA64MMFR0_EL1) & 0xf0) >> 2) + 8)

Definition at line 30 of file context.c.

#define ASID_FIRST_VERSION   (1 << MAX_ASID_BITS)

Definition at line 33 of file context.c.

Function Documentation

void __init_new_context ( struct task_struct tsk,
struct mm_struct mm 
)

Definition at line 41 of file context.c.

void __new_context ( struct mm_struct mm)

Definition at line 115 of file context.c.

Variable Documentation

unsigned int cpu_last_asid = ASID_FIRST_VERSION

Definition at line 36 of file context.c.