Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
slb.c File Reference
#include <asm/pgtable.h>
#include <asm/mmu.h>
#include <asm/mmu_context.h>
#include <asm/paca.h>
#include <asm/cputable.h>
#include <asm/cacheflush.h>
#include <asm/smp.h>
#include <linux/compiler.h>
#include <asm/udbg.h>
#include <asm/code-patching.h>

Go to the source code of this file.

Macros

#define slb_esid_mask(ssize)   (((ssize) == MMU_SEGSIZE_256M)? ESID_MASK: ESID_MASK_1T)
 
#define slb_vsid_shift(ssize)   ((ssize) == MMU_SEGSIZE_256M? SLB_VSID_SHIFT: SLB_VSID_SHIFT_1T)
 

Functions

void slb_allocate_realmode (unsigned long ea)
 
void slb_allocate_user (unsigned long ea)
 
void slb_flush_and_rebolt (void)
 
void slb_vmalloc_update (void)
 
void switch_slb (struct task_struct *tsk, struct mm_struct *mm)
 
void slb_set_size (u16 size)
 
void slb_initialize (void)
 

Macro Definition Documentation

#define slb_esid_mask (   ssize)    (((ssize) == MMU_SEGSIZE_256M)? ESID_MASK: ESID_MASK_1T)

Definition at line 40 of file slb.c.

#define slb_vsid_shift (   ssize)    ((ssize) == MMU_SEGSIZE_256M? SLB_VSID_SHIFT: SLB_VSID_SHIFT_1T)

Definition at line 49 of file slb.c.

Function Documentation

void slb_allocate_realmode ( unsigned long  ea)
void slb_allocate_user ( unsigned long  ea)
void slb_flush_and_rebolt ( void  )

Definition at line 134 of file slb.c.

void slb_initialize ( void  )

Definition at line 267 of file slb.c.

void slb_set_size ( u16  size)

Definition at line 256 of file slb.c.

void slb_vmalloc_update ( void  )

Definition at line 149 of file slb.c.

void switch_slb ( struct task_struct tsk,
struct mm_struct mm 
)

Definition at line 188 of file slb.c.