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 _ASM_X86_REBOOT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _ASM_X86_REBOOT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <linux/kdebug.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) struct pt_regs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) struct machine_ops {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	void (*restart)(char *cmd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	void (*halt)(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	void (*power_off)(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	void (*shutdown)(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	void (*crash_shutdown)(struct pt_regs *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	void (*emergency_restart)(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern struct machine_ops machine_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) extern int crashing_cpu;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void native_machine_crash_shutdown(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void native_machine_shutdown(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void __noreturn machine_real_restart(unsigned int type);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) /* These must match dispatch in arch/x86/realmore/rm/reboot.S */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define MRR_BIOS	0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define MRR_APM		1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) typedef void (*nmi_shootdown_cb)(int, struct pt_regs*);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) void nmi_panic_self_stop(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) void nmi_shootdown_cpus(nmi_shootdown_cb callback);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) void run_crash_ipi_callback(struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #endif /* _ASM_X86_REBOOT_H */