Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef __ASM_TRAPS_H
2#define __ASM_TRAPS_H
3
4#ifdef __KERNEL__
5struct pt_regs;
6
7/* traps.c */
8void parisc_terminate(char *msg, struct pt_regs *regs,
9 int code, unsigned long offset) __noreturn __cold;
10
11void die_if_kernel(char *str, struct pt_regs *regs, long err);
12
13/* mm/fault.c */
14const char *trap_name(unsigned long code);
15void do_page_fault(struct pt_regs *regs, unsigned long code,
16 unsigned long address);
17#endif
18
19#endif