Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef _ENTRY_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _ENTRY_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <linux/percpu.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #include <linux/signal.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <asm/ptrace.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <asm/idle.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern void *restart_stack;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void system_call(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) void pgm_check_handler(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void ext_int_handler(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void io_int_handler(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void mcck_int_handler(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) void restart_int_handler(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void do_protection_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) void do_dat_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) void do_secure_storage_access(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) void do_non_secure_storage_access(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) void do_secure_storage_violation(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) void addressing_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) void data_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) void default_trap_handler(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) void divide_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) void execute_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) void hfp_divide_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) void hfp_overflow_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) void hfp_significance_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) void hfp_sqrt_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) void hfp_underflow_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) void illegal_op(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) void operand_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) void overflow_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) void privileged_op(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) void space_switch_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) void special_op_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) void specification_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) void transaction_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) void translation_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) void vector_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) void monitor_event_exception(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) void do_per_trap(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) void syscall_trace(struct pt_regs *regs, int entryexit);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) void kernel_stack_overflow(struct pt_regs * regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) void do_signal(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) void handle_signal32(struct ksignal *ksig, sigset_t *oldset,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 		     struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) void do_notify_resume(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) void __init init_IRQ(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) void do_IRQ(struct pt_regs *regs, int irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) void do_restart(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) void __init startup_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) void die(struct pt_regs *regs, const char *str);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) int setup_profiling_timer(unsigned int multiplier);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) void __init time_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) unsigned long prepare_ftrace_return(unsigned long parent, unsigned long sp, unsigned long ip);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) struct s390_mmap_arg_struct;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) struct fadvise64_64_args;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) struct old_sigaction;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) long sys_rt_sigreturn(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) long sys_sigreturn(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) long sys_s390_personality(unsigned int personality);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) long sys_s390_runtime_instr(int command, int signum);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) long sys_s390_guarded_storage(int command, struct gs_cb __user *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) long sys_s390_pci_mmio_write(unsigned long, const void __user *, size_t);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) long sys_s390_pci_mmio_read(unsigned long, void __user *, size_t);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) long sys_s390_sthyi(unsigned long function_code, void __user *buffer, u64 __user *return_code, unsigned long flags);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) DECLARE_PER_CPU(u64, mt_cycles[8]);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) void gs_load_bc_cb(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) void set_fs_fixup(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) unsigned long stack_alloc(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) void stack_free(unsigned long stack);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) extern char kprobes_insn_page[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) #endif /* _ENTRY_H */