#include <linux/module.h>
#include <linux/signal.h>
#include <linux/mm.h>
#include <linux/hardirq.h>
#include <linux/init.h>
#include <linux/kprobes.h>
#include <linux/uaccess.h>
#include <linux/page-flags.h>
#include <linux/sched.h>
#include <linux/io.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
Go to the source code of this file.
|
void | show_pte (struct mm_struct *mm, unsigned long addr) |
|
void | do_bad_area (unsigned long addr, unsigned int fsr, struct pt_regs *regs) |
|
void __init | hook_fault_code (int nr, int(*fn)(unsigned long, unsigned int, struct pt_regs *), int sig, int code, const char *name) |
|
asmlinkage void | do_DataAbort (unsigned long addr, unsigned int fsr, struct pt_regs *regs) |
|
asmlinkage void | do_PrefetchAbort (unsigned long addr, unsigned int ifsr, struct pt_regs *regs) |
|
#define FSR_LNX_PF (1 << 31) |
#define VM_FAULT_BADACCESS 0x020000 |
#define VM_FAULT_BADMAP 0x010000 |