Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
fault.c File Reference
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/tty.h>
#include <linux/vt_kern.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <asm/m32r.h>
#include <asm/uaccess.h>
#include <asm/hardirq.h>
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Macros

#define tlb_entry_i   tlb_entry_i_dat
 
#define tlb_entry_d   tlb_entry_d_dat
 
#define ACE_PROTECTION   1
 
#define ACE_WRITE   2
 
#define ACE_USERMODE   4
 
#define ACE_INSTRUCTION   8
 
#define TLB_MASK   (NR_TLB_ENTRIES - 1)
 
#define ITLB_END   (unsigned long *)(ITLB_BASE + (NR_TLB_ENTRIES * 8))
 
#define DTLB_END   (unsigned long *)(DTLB_BASE + (NR_TLB_ENTRIES * 8))
 

Functions

void die (const char *, struct pt_regs *, long)
 
void init_tlb (void)
 
asmlinkage void do_page_fault (struct pt_regs *regs, unsigned long error_code, unsigned long address)
 
void update_mmu_cache (struct vm_area_struct *vma, unsigned long vaddr, pte_t *ptep)
 
void local_flush_tlb_page (struct vm_area_struct *vma, unsigned long page)
 
void local_flush_tlb_range (struct vm_area_struct *vma, unsigned long start, unsigned long end)
 
void local_flush_tlb_mm (struct mm_struct *mm)
 
void local_flush_tlb_all (void)
 
void __init init_mmu (void)
 

Variables

asmlinkage unsigned int tlb_entry_i_dat
 
asmlinkage unsigned int tlb_entry_d_dat
 

Macro Definition Documentation

#define ACE_INSTRUCTION   8

Definition at line 72 of file fault.c.

#define ACE_PROTECTION   1

Definition at line 69 of file fault.c.

#define ACE_USERMODE   4

Definition at line 71 of file fault.c.

#define ACE_WRITE   2

Definition at line 70 of file fault.c.

#define DTLB_END   (unsigned long *)(DTLB_BASE + (NR_TLB_ENTRIES * 8))

Definition at line 343 of file fault.c.

#define ITLB_END   (unsigned long *)(ITLB_BASE + (NR_TLB_ENTRIES * 8))

Definition at line 342 of file fault.c.

#define tlb_entry_d   tlb_entry_d_dat

Definition at line 40 of file fault.c.

#define tlb_entry_i   tlb_entry_i_dat

Definition at line 39 of file fault.c.

#define TLB_MASK   (NR_TLB_ENTRIES - 1)

Definition at line 341 of file fault.c.

Function Documentation

void die ( const char ,
struct pt_regs ,
long   
)

Definition at line 27 of file traps.c.

asmlinkage void do_page_fault ( struct pt_regs regs,
unsigned long  error_code,
unsigned long  address 
)

Definition at line 74 of file fault.c.

void __init init_mmu ( void  )

Definition at line 538 of file fault.c.

void init_tlb ( void  )
void local_flush_tlb_all ( void  )

Definition at line 526 of file fault.c.

void local_flush_tlb_mm ( struct mm_struct mm)

Definition at line 508 of file fault.c.

void local_flush_tlb_page ( struct vm_area_struct vma,
unsigned long  page 
)

Definition at line 454 of file fault.c.

void local_flush_tlb_range ( struct vm_area_struct vma,
unsigned long  start,
unsigned long  end 
)

Definition at line 470 of file fault.c.

void update_mmu_cache ( struct vm_area_struct vma,
unsigned long  vaddr,
pte_t ptep 
)
inline

Definition at line 344 of file fault.c.

Variable Documentation

asmlinkage unsigned int tlb_entry_d_dat

Definition at line 38 of file fault.c.

asmlinkage unsigned int tlb_entry_i_dat

Definition at line 37 of file fault.c.