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/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/io.h>
#include <asm/mmu_context.h>
#include <asm/tlbflush.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define __EXTERN_INLINE   inline
 
#define dpf_reg(r)
 

Functions

void die_if_kernel (char *, struct pt_regs *, long, unsigned long *)
 
void __load_new_mm_context (struct mm_struct *next_mm)
 
asmlinkage void do_page_fault (unsigned long address, unsigned long mmcsr, long cause, struct pt_regs *regs)
 

Variables

unsigned long last_asn = ASN_FIRST_VERSION
 

Macro Definition Documentation

#define __EXTERN_INLINE   inline

Definition at line 12 of file fault.c.

#define dpf_reg (   r)
Value:
(((unsigned long *)regs)[(r) <= 8 ? (r) : (r) <= 15 ? (r)-16 : \
(r) <= 18 ? (r)+8 : (r)-10])

Definition at line 79 of file fault.c.

Function Documentation

void __load_new_mm_context ( struct mm_struct next_mm)

Definition at line 41 of file fault.c.

void die_if_kernel ( char ,
struct pt_regs ,
long  ,
unsigned long  
)

Definition at line 180 of file traps.c.

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

Definition at line 84 of file fault.c.

Variable Documentation

unsigned long last_asn = ASN_FIRST_VERSION

Definition at line 37 of file fault.c.