linux/arch/s390/kernel/entry.h
<<
>>
Prefs
   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;
  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);
  19
  20void __ret_from_fork(struct task_struct *prev, struct pt_regs *regs);
  21void __do_pgm_check(struct pt_regs *regs);
  22void __do_syscall(struct pt_regs *regs, int per_trap);
  23
  24void do_protection_exception(struct pt_regs *regs);
  25void do_dat_exception(struct pt_regs *regs);
  26void do_secure_storage_access(struct pt_regs *regs);
  27void do_non_secure_storage_access(struct pt_regs *regs);
  28void do_secure_storage_violation(struct pt_regs *regs);
  29void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
  30void kernel_stack_overflow(struct pt_regs * regs);
  31void do_signal(struct pt_regs *regs);
  32void handle_signal32(struct ksignal *ksig, sigset_t *oldset,
  33                     struct pt_regs *regs);
  34void do_notify_resume(struct pt_regs *regs);
  35
  36void __init init_IRQ(void);
  37void do_io_irq(struct pt_regs *regs);
  38void do_ext_irq(struct pt_regs *regs);
  39void do_restart(void *arg);
  40void __init startup_init(void);
  41void die(struct pt_regs *regs, const char *str);
  42int setup_profiling_timer(unsigned int multiplier);
  43void __init time_init(void);
  44unsigned long prepare_ftrace_return(unsigned long parent, unsigned long sp, unsigned long ip);
  45
  46struct s390_mmap_arg_struct;
  47struct fadvise64_64_args;
  48struct old_sigaction;
  49
  50long sys_rt_sigreturn(void);
  51long sys_sigreturn(void);
  52
  53long sys_s390_personality(unsigned int personality);
  54long sys_s390_runtime_instr(int command, int signum);
  55long sys_s390_guarded_storage(int command, struct gs_cb __user *);
  56long sys_s390_pci_mmio_write(unsigned long, const void __user *, size_t);
  57long sys_s390_pci_mmio_read(unsigned long, void __user *, size_t);
  58long sys_s390_sthyi(unsigned long function_code, void __user *buffer, u64 __user *return_code, unsigned long flags);
  59
  60DECLARE_PER_CPU(u64, mt_cycles[8]);
  61
  62unsigned long stack_alloc(void);
  63void stack_free(unsigned long stack);
  64
  65extern char kprobes_insn_page[];
  66
  67#endif /* _ENTRY_H */
  68