1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 #ifndef _POWERPC_XMON_DIS_ASM_H 3 #define _POWERPC_XMON_DIS_ASM_H 4 /* 5 * Copyright (C) 2006 Michael Ellerman, IBM Co 6 */ 7 8 extern void print_address (unsigned long memad 9 10 #ifdef CONFIG_XMON_DISASSEMBLY 11 extern int print_insn_powerpc(unsigned long in 12 extern int print_insn_spu(unsigned long insn, 13 #else 14 static inline int print_insn_powerpc(unsigned 15 { 16 printf("%.8lx", insn); 17 return 0; 18 } 19 20 static inline int print_insn_spu(unsigned long 21 { 22 printf("%.8lx", insn); 23 return 0; 24 } 25 #endif 26 27 #endif /* _POWERPC_XMON_DIS_ASM_H */ 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.