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-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef _POWERPC_XMON_DIS_ASM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _POWERPC_XMON_DIS_ASM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2006 Michael Ellerman, IBM Corporation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) extern void print_address (unsigned long memaddr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #ifdef CONFIG_XMON_DISASSEMBLY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern int print_insn_powerpc(unsigned long insn, unsigned long memaddr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern int print_insn_spu(unsigned long insn, unsigned long memaddr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	printf("%.8lx", insn);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) static inline int print_insn_spu(unsigned long insn, unsigned long memaddr)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	printf("%.8lx", insn);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #endif /* _POWERPC_XMON_DIS_ASM_H */