Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 Comment out implementation specific...



details:   https://anonhg.NetBSD.org/src/rev/190079422db6
branches:  trunk
changeset: 994936:190079422db6
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Nov 28 19:13:15 2018 +0000

description:
Comment out implementation specific registers to avoid illegal instruction trap on ThunderX

diffstat:

 sys/arch/aarch64/aarch64/db_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 693078ab7784 -r 190079422db6 sys/arch/aarch64/aarch64/db_machdep.c
--- a/sys/arch/aarch64/aarch64/db_machdep.c     Wed Nov 28 19:07:49 2018 +0000
+++ b/sys/arch/aarch64/aarch64/db_machdep.c     Wed Nov 28 19:13:15 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.10 2018/11/28 08:16:46 ryo Exp $ */
+/* $NetBSD: db_machdep.c,v 1.11 2018/11/28 19:13:15 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.10 2018/11/28 08:16:46 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.11 2018/11/28 19:13:15 ryo Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd32.h"
@@ -357,7 +357,7 @@
 #define SHOW_ARMREG(x) \
        db_printf("%-16s = %016" PRIx64 "\n", #x, reg_ ## x ## _read())
 
-       SHOW_ARMREG(cbar_el1);
+//     SHOW_ARMREG(cbar_el1);  /* Cortex */
        SHOW_ARMREG(ccsidr_el1);
        SHOW_ARMREG(clidr_el1);
        SHOW_ARMREG(cntfrq_el0);
@@ -397,7 +397,7 @@
        SHOW_ARMREG(id_aa64pfr0_el1);
        SHOW_ARMREG(id_aa64pfr1_el1);
        SHOW_ARMREG(isr_el1);
-       SHOW_ARMREG(l2ctlr_el1);
+//     SHOW_ARMREG(l2ctlr_el1);        /* Cortex */
        SHOW_ARMREG(mair_el1);
        SHOW_ARMREG(mdscr_el1);
        SHOW_ARMREG(midr_el1);



Home | Main Index | Thread Index | Old Index