Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc bogusintr: print cpu number.
details: https://anonhg.NetBSD.org/src/rev/240b1f780a76
branches: trunk
changeset: 542182:240b1f780a76
user: pk <pk%NetBSD.org@localhost>
date: Thu Jan 23 14:56:06 2003 +0000
description:
bogusintr: print cpu number.
diffstat:
sys/arch/sparc/sparc/intr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 9fb3bff462c5 -r 240b1f780a76 sys/arch/sparc/sparc/intr.c
--- a/sys/arch/sparc/sparc/intr.c Thu Jan 23 14:55:39 2003 +0000
+++ b/sys/arch/sparc/sparc/intr.c Thu Jan 23 14:56:06 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.76 2003/01/22 21:58:28 pk Exp $ */
+/* $NetBSD: intr.c,v 1.77 2003/01/23 14:56:06 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -122,7 +122,8 @@
{
char bits[64];
- printf("bogus interrupt ipl 0x%x pc=0x%x npc=0x%x psr=%s\n",
+ printf("cpu%d: bogus interrupt ipl 0x%x pc=0x%x npc=0x%x psr=%s\n",
+ cpu_number(),
fp->ipl, fp->pc, fp->npc, bitmask_snprintf(fp->psr,
PSR_BITS, bits, sizeof(bits)));
}
Home |
Main Index |
Thread Index |
Old Index