Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Wrap a REALLY long line



details:   https://anonhg.NetBSD.org/src/rev/92fc760e5e9f
branches:  trunk
changeset: 1009007:92fc760e5e9f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Apr 09 06:49:37 2020 +0000

description:
Wrap a REALLY long line

diffstat:

 sys/arch/mips/mips/trap.c |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 5dd82437d0c7 -r 92fc760e5e9f sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Thu Apr 09 06:47:50 2020 +0000
+++ b/sys/arch/mips/mips/trap.c Thu Apr 09 06:49:37 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.252 2020/04/09 06:47:50 skrll Exp $ */
+/*     $NetBSD: trap.c,v 1.253 2020/04/09 06:49:37 skrll Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.252 2020/04/09 06:47:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.253 2020/04/09 06:49:37 skrll Exp $");
 
 #include "opt_cputype.h"       /* which mips CPU levels do we support? */
 #include "opt_ddb.h"
@@ -376,7 +376,14 @@
                        if (++pfi->pfi_repeats > 4) {
                                tlb_asid_t asid = tlb_get_asid();
                                pt_entry_t *ptep = pfi->pfi_faultpte;
-                               printf("trap: fault #%u (%s/%s) for %#"PRIxVADDR" (%#"PRIxVADDR") at pc %#"PRIxVADDR" curpid=%u/%u ptep@%p=%#"PRIxPTE")\n", pfi->pfi_repeats, 
trap_names[TRAPTYPE(cause)], trap_names[pfi->pfi_faulttype], va, vaddr, pc, map->pmap->pm_pai[0].pai_asid, asid, ptep, ptep ? pte_value(*ptep) : 0);
+                               printf("trap: fault #%u (%s/%s) for %#"
+                                   PRIxVADDR" (%#"PRIxVADDR") at pc %#"
+                                   PRIxVADDR" curpid=%u/%u ptep@%p=%#"
+                                   PRIxPTE")\n", pfi->pfi_repeats,
+                                   trap_names[TRAPTYPE(cause)],
+                                   trap_names[pfi->pfi_faulttype], va,
+                                   vaddr, pc, map->pmap->pm_pai[0].pai_asid,
+                                   asid, ptep, ptep ? pte_value(*ptep) : 0);
                                if (pfi->pfi_repeats >= 4) {
                                        cpu_Debugger();
                                } else {



Home | Main Index | Thread Index | Old Index