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) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #ifndef __ASM_CSKY_PROBES_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #define __ASM_CSKY_PROBES_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) typedef u32 probe_opcode_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) /* architecture specific copy of original instruction */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct arch_probe_insn {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	probe_opcode_t *insn;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	probes_handler_t *handler;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	/* restore address after simulation */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	unsigned long restore;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #ifdef CONFIG_KPROBES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) typedef u32 kprobe_opcode_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct arch_specific_insn {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	struct arch_probe_insn api;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif /* __ASM_CSKY_PROBES_H */