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/mm.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#include <asm/siginfo.h>
#include <asm/signal.h>

Go to the source code of this file.


#define NUM_TLB_ENTRIES   64
#define TLB_OFFSET(add)   (((add) >> PAGE_SHIFT) & (NUM_TLB_ENTRIES-1))


void die (char *, struct pt_regs *, long)
asmlinkage void do_page_fault (struct pt_regs *regs, unsigned long address, unsigned long vector, int write_acc)


unsigned long pte_misses
unsigned long pte_errors
volatile pgd_tcurrent_pgd

Macro Definition Documentation

#define NUM_TLB_ENTRIES   64

Definition at line 27 of file fault.c.

#define TLB_OFFSET (   add)    (((add) >> PAGE_SHIFT) & (NUM_TLB_ENTRIES-1))

Definition at line 28 of file fault.c.

Function Documentation

void die ( char ,
struct pt_regs ,
asmlinkage void do_page_fault ( struct pt_regs regs,
unsigned long  address,
unsigned long  vector,
int  write_acc 

Definition at line 49 of file fault.c.

Variable Documentation

volatile pgd_t* current_pgd

Definition at line 36 of file fault.c.

unsigned long pte_errors

Definition at line 31 of file fault.c.

unsigned long pte_misses

Definition at line 30 of file fault.c.