Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include PR port-arm/50641: src/sys/arch/aar...
details: https://anonhg.NetBSD.org/src/rev/58cf97a512e6
branches: trunk
changeset: 342856:58cf97a512e6
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 11 07:46:15 2016 +0000
description:
PR port-arm/50641: src/sys/arch/aarch64/include/db_machdep.h:67: possible bad if test ?
Fix the bl instruction test.
diffstat:
sys/arch/aarch64/include/db_machdep.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9ca6b2059c93 -r 58cf97a512e6 sys/arch/aarch64/include/db_machdep.h
--- a/sys/arch/aarch64/include/db_machdep.h Mon Jan 11 06:21:23 2016 +0000
+++ b/sys/arch/aarch64/include/db_machdep.h Mon Jan 11 07:46:15 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.1 2014/08/10 05:47:38 matt Exp $ */
+/* $NetBSD: db_machdep.h,v 1.2 2016/01/11 07:46:15 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
static inline bool
inst_call(db_expr_t insn)
{
- return (insn & 0xfc000000) == 0x92000000 /* bl */
+ return (insn & 0xfc000000) == 0x94000000 /* bl */
|| (insn & 0xfffffcef) == 0xd63f0000; /* blr */
}
Home |
Main Index |
Thread Index |
Old Index