Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include Do not mask out LK bit (bit 31) fro...



details:   https://anonhg.NetBSD.org/src/rev/cf8528e6aafa
branches:  trunk
changeset: 847223:cf8528e6aafa
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Dec 15 06:05:00 2019 +0000

description:
Do not mask out LK bit (bit 31) from M_BCTR, which distinguishes
bcctr and bcctrl.

Fix build failure for ibm4xx kernels with GCC8.

XXX
pullup to netbsd-9, -8, and -7

diffstat:

 sys/arch/powerpc/include/db_machdep.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 91f436ff50aa -r cf8528e6aafa sys/arch/powerpc/include/db_machdep.h
--- a/sys/arch/powerpc/include/db_machdep.h     Sun Dec 15 05:56:02 2019 +0000
+++ b/sys/arch/powerpc/include/db_machdep.h     Sun Dec 15 06:05:00 2019 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: db_machdep.h,v 1.2 1997/03/21 00:48:48 niklas Exp $   */
-/*     $NetBSD: db_machdep.h,v 1.26 2017/11/06 03:47:48 christos Exp $ */
+/*     $NetBSD: db_machdep.h,v 1.27 2019/12/15 06:05:00 rin Exp $      */
 
 /* 
  * Mach Operating System
@@ -98,7 +98,7 @@
 #define M_B            0xfc000001
 #define I_B            0x48000000
 #define I_BL           0x48000001
-#define        M_BCTR          0xfc0007fe
+#define        M_BCTR          0xfc0007ff
 #define        I_BCTR          0x4c000420
 #define        I_BCTRL         0x4c000421
 #define        M_RFI           0xfc0007fe



Home | Main Index | Thread Index | Old Index