Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/cavium Fix insn #2 printf in octeon_fixup_cpu_...
details: https://anonhg.NetBSD.org/src/rev/44fe3ff0fc48
branches: trunk
changeset: 347249:44fe3ff0fc48
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Aug 19 10:20:42 2016 +0000
description:
Fix insn #2 printf in octeon_fixup_cpu_info_references
diffstat:
sys/arch/mips/cavium/octeon_cpunode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r c0b7f46d74d9 -r 44fe3ff0fc48 sys/arch/mips/cavium/octeon_cpunode.c
--- a/sys/arch/mips/cavium/octeon_cpunode.c Fri Aug 19 10:19:45 2016 +0000
+++ b/sys/arch/mips/cavium/octeon_cpunode.c Fri Aug 19 10:20:42 2016 +0000
@@ -195,12 +195,12 @@
(new_insns[0] >> 16) & 31,
(int16_t)new_insns[0]);
printf("%s: %08x: insn#2 %08x: %c%c r%u, %d(r%u)\n",
- __func__, load_addr, new_insns[0],
+ __func__, load_addr, new_insns[1],
INSN_LOAD_P(new_insns[1]) ? 'l' : 's',
INSN_LW_P(new_insns[1]) ? 'w' : 'd',
- (new_insns[0] >> 16) & 31,
+ (new_insns[1] >> 16) & 31,
(int16_t)new_insns[1],
- (new_insns[0] >> 21) & 31);
+ (new_insns[1] >> 21) & 31);
#endif
return true;
}
Home |
Main Index |
Thread Index |
Old Index