#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/highmem.h>
#include <linux/perf_event.h>
#include <asm/exception.h>
#include <asm/debug-monitors.h>
#include <asm/system_misc.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 esr, struct pt_regs *regs) |
| |
| asmlinkage void __exception | do_mem_abort (unsigned long addr, unsigned int esr, struct pt_regs *regs) |
| |
| asmlinkage void __exception | do_sp_pc_abort (unsigned long addr, unsigned int esr, struct pt_regs *regs) |
| |
| void __init | hook_debug_fault_code (int nr, int(*fn)(unsigned long, unsigned int, struct pt_regs *), int sig, int code, const char *name) |
| |
| asmlinkage int __exception | do_debug_exception (unsigned long addr, unsigned int esr, struct pt_regs *regs) |
| |
| #define ESR_LNX_EXEC (1 << 24) |
| #define ESR_WRITE (1 << 6) |
| #define VM_FAULT_BADACCESS 0x020000 |
| #define VM_FAULT_BADMAP 0x010000 |