Linux Audio

Check our new training course

Loading...
v3.5.6
 
 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#include <asm/cputime.h>
 8#include <asm/timer.h>
 9
10extern void (*pgm_check_table[128])(struct pt_regs *);
11extern void *restart_stack;
 
12
13void system_call(void);
14void pgm_check_handler(void);
15void ext_int_handler(void);
16void io_int_handler(void);
17void mcck_int_handler(void);
18void restart_int_handler(void);
19void restart_call_handler(void);
20void psw_idle(struct s390_idle_data *, struct vtimer_queue *,
21	      unsigned long, int);
22
23asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
24asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
25
26void do_protection_exception(struct pt_regs *regs);
27void do_dat_exception(struct pt_regs *regs);
28void do_asce_exception(struct pt_regs *regs);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
30void do_per_trap(struct pt_regs *regs);
 
31void syscall_trace(struct pt_regs *regs, int entryexit);
32void kernel_stack_overflow(struct pt_regs * regs);
33void do_signal(struct pt_regs *regs);
34void handle_signal32(unsigned long sig, struct k_sigaction *ka,
35		    siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
36void do_notify_resume(struct pt_regs *regs);
37
38struct ext_code;
39void do_extint(struct pt_regs *regs, struct ext_code, unsigned int, unsigned long);
40void do_restart(void);
 
41void __init startup_init(void);
42void die(struct pt_regs *regs, const char *str);
43
44void __init time_init(void);
 
 
45
46struct s390_mmap_arg_struct;
47struct fadvise64_64_args;
48struct old_sigaction;
49
50long sys_mmap2(struct s390_mmap_arg_struct __user  *arg);
51long sys_s390_ipc(uint call, int first, unsigned long second,
52	     unsigned long third, void __user *ptr);
53long sys_s390_personality(unsigned int personality);
54long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
55		    size_t len, int advice);
56long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
57long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
58			u32 len_low);
59long sys_fork(void);
60long sys_clone(unsigned long newsp, unsigned long clone_flags,
61	       int __user *parent_tidptr, int __user *child_tidptr);
62long sys_vfork(void);
63void execve_tail(void);
64long sys_execve(const char __user *name, const char __user *const __user *argv,
65		const char __user *const __user *envp);
66long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
67long sys_sigaction(int sig, const struct old_sigaction __user *act,
68		   struct old_sigaction __user *oact);
69long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
70long sys_sigreturn(void);
71long sys_rt_sigreturn(void);
72long sys32_sigreturn(void);
73long sys32_rt_sigreturn(void);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
75#endif /* _ENTRY_H */
v5.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ENTRY_H
 3#define _ENTRY_H
 4
 5#include <linux/percpu.h>
 6#include <linux/types.h>
 7#include <linux/signal.h>
 8#include <asm/ptrace.h>
 9#include <asm/idle.h>
 
10
 
11extern void *restart_stack;
12extern unsigned long suspend_zero_pages;
13
14void system_call(void);
15void pgm_check_handler(void);
16void ext_int_handler(void);
17void io_int_handler(void);
18void mcck_int_handler(void);
19void restart_int_handler(void);
20void restart_call_handler(void);
 
 
21
22asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
23asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
24
25void do_protection_exception(struct pt_regs *regs);
26void do_dat_exception(struct pt_regs *regs);
27
28void addressing_exception(struct pt_regs *regs);
29void data_exception(struct pt_regs *regs);
30void default_trap_handler(struct pt_regs *regs);
31void divide_exception(struct pt_regs *regs);
32void execute_exception(struct pt_regs *regs);
33void hfp_divide_exception(struct pt_regs *regs);
34void hfp_overflow_exception(struct pt_regs *regs);
35void hfp_significance_exception(struct pt_regs *regs);
36void hfp_sqrt_exception(struct pt_regs *regs);
37void hfp_underflow_exception(struct pt_regs *regs);
38void illegal_op(struct pt_regs *regs);
39void operand_exception(struct pt_regs *regs);
40void overflow_exception(struct pt_regs *regs);
41void privileged_op(struct pt_regs *regs);
42void space_switch_exception(struct pt_regs *regs);
43void special_op_exception(struct pt_regs *regs);
44void specification_exception(struct pt_regs *regs);
45void transaction_exception(struct pt_regs *regs);
46void translation_exception(struct pt_regs *regs);
47void vector_exception(struct pt_regs *regs);
48
49void do_per_trap(struct pt_regs *regs);
50void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
51void syscall_trace(struct pt_regs *regs, int entryexit);
52void kernel_stack_overflow(struct pt_regs * regs);
53void do_signal(struct pt_regs *regs);
54void handle_signal32(struct ksignal *ksig, sigset_t *oldset,
55		     struct pt_regs *regs);
56void do_notify_resume(struct pt_regs *regs);
57
58void __init init_IRQ(void);
59void do_IRQ(struct pt_regs *regs, int irq);
60void do_restart(void);
61void __init startup_init_nobss(void);
62void __init startup_init(void);
63void die(struct pt_regs *regs, const char *str);
64int setup_profiling_timer(unsigned int multiplier);
65void __init time_init(void);
66void s390_early_resume(void);
67unsigned long prepare_ftrace_return(unsigned long parent, unsigned long sp, unsigned long ip);
68
69struct s390_mmap_arg_struct;
70struct fadvise64_64_args;
71struct old_sigaction;
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73long sys_rt_sigreturn(void);
74long sys_sigreturn(void);
75
76long sys_s390_personality(unsigned int personality);
77long sys_s390_runtime_instr(int command, int signum);
78long sys_s390_guarded_storage(int command, struct gs_cb __user *);
79long sys_s390_pci_mmio_write(unsigned long, const void __user *, size_t);
80long sys_s390_pci_mmio_read(unsigned long, void __user *, size_t);
81long sys_s390_sthyi(unsigned long function_code, void __user *buffer, u64 __user *return_code, unsigned long flags);
82
83DECLARE_PER_CPU(u64, mt_cycles[8]);
84
85void gs_load_bc_cb(struct pt_regs *regs);
86void set_fs_fixup(void);
87
88unsigned long stack_alloc(void);
89void stack_free(unsigned long stack);
90
91#endif /* _ENTRY_H */