Root/arch/s390/kernel/entry.h

1#ifndef _ENTRY_H
2#define _ENTRY_H
3
4#include <linux/types.h>
5#include <linux/signal.h>
6#include <asm/ptrace.h>
7
8typedef void pgm_check_handler_t(struct pt_regs *, long, unsigned long);
9extern pgm_check_handler_t *pgm_check_table[128];
10pgm_check_handler_t do_protection_exception;
11pgm_check_handler_t do_dat_exception;
12
13extern int sysctl_userprocess_debug;
14
15void do_single_step(struct pt_regs *regs);
16void syscall_trace(struct pt_regs *regs, int entryexit);
17void kernel_stack_overflow(struct pt_regs * regs);
18void do_signal(struct pt_regs *regs);
19int handle_signal32(unsigned long sig, struct k_sigaction *ka,
20            siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
21
22void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long);
23int __cpuinit start_secondary(void *cpuvoid);
24void __init startup_init(void);
25void die(const char * str, struct pt_regs * regs, long err);
26
27struct s390_mmap_arg_struct;
28struct fadvise64_64_args;
29struct old_sigaction;
30
31long sys_mmap2(struct s390_mmap_arg_struct __user *arg);
32long sys_s390_ipc(uint call, int first, unsigned long second,
33         unsigned long third, void __user *ptr);
34long sys_s390_personality(unsigned int personality);
35long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
36            size_t len, int advice);
37long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
38long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
39            u32 len_low);
40long sys_fork(void);
41long sys_clone(unsigned long newsp, unsigned long clone_flags,
42           int __user *parent_tidptr, int __user *child_tidptr);
43long sys_vfork(void);
44void execve_tail(void);
45long sys_execve(const char __user *name, const char __user *const __user *argv,
46        const char __user *const __user *envp);
47long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
48long sys_sigaction(int sig, const struct old_sigaction __user *act,
49           struct old_sigaction __user *oact);
50long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
51long sys_sigreturn(void);
52long sys_rt_sigreturn(void);
53long sys32_sigreturn(void);
54long sys32_rt_sigreturn(void);
55
56#endif /* _ENTRY_H */
57

Archive Download this file



interactive