Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fault.c File Reference
#include <linux/mm.h>
#include <linux/ptrace.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#include <asm/traps.h>

Go to the source code of this file.

Macros

#define PRINT_USER_FAULTS   /* (turn this on if you want user faults to be */
 
#define bit22set(x)   (x & 0x00000200)
 
#define bits23_25set(x)   (x & 0x000001c0)
 
#define isGraphicsFlushRead(x)   ((x & 0xfc003fdf) == 0x04001a80)
 
#define BITSSET   0x1c0 /* for identifying LDCW */
 

Functions

 DEFINE_PER_CPU (struct exception_data, exception_data)
 
int fixup_exception (struct pt_regs *regs)
 
void do_page_fault (struct pt_regs *regs, unsigned long code, unsigned long address)
 

Macro Definition Documentation

#define bit22set (   x)    (x & 0x00000200)

Definition at line 27 of file fault.c.

#define bits23_25set (   x)    (x & 0x000001c0)

Definition at line 28 of file fault.c.

#define BITSSET   0x1c0 /* for identifying LDCW */

Definition at line 32 of file fault.c.

#define isGraphicsFlushRead (   x)    ((x & 0xfc003fdf) == 0x04001a80)

Definition at line 29 of file fault.c.

#define PRINT_USER_FAULTS   /* (turn this on if you want user faults to be */

Definition at line 22 of file fault.c.

Function Documentation

DEFINE_PER_CPU ( struct exception_data  ,
exception_data   
)
void do_page_fault ( struct pt_regs regs,
unsigned long  code,
unsigned long  address 
)

Definition at line 170 of file fault.c.

int fixup_exception ( struct pt_regs regs)

Definition at line 141 of file fault.c.