Module Name:    src
Committed By:   andvar
Date:           Sun Nov  5 22:05:07 UTC 2023

Modified Files:
        src/sys/arch/playstation2/playstation2: interrupt.c

Log Message:
Return missing debug message text and remove obsolete sched_whichqs param.

Allows INTR_DEBUG code to compile.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/playstation2/playstation2/interrupt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/playstation2/playstation2/interrupt.c
diff -u src/sys/arch/playstation2/playstation2/interrupt.c:1.18 src/sys/arch/playstation2/playstation2/interrupt.c:1.19
--- src/sys/arch/playstation2/playstation2/interrupt.c:1.18	Wed Oct  6 20:36:58 2021
+++ src/sys/arch/playstation2/playstation2/interrupt.c	Sun Nov  5 22:05:07 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: interrupt.c,v 1.18 2021/10/06 20:36:58 andvar Exp $	*/
+/*	$NetBSD: interrupt.c,v 1.19 2023/11/05 22:05:07 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.18 2021/10/06 20:36:58 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.19 2023/11/05 22:05:07 andvar Exp $");
 
 #include "debug_playstation2.h"
 #if defined INTR_DEBUG && !defined GSFB_DEBUG_MONITOR
@@ -271,7 +271,7 @@ _debug_print_intr(const char *ident)
 
 	__gsfb_print(0,
 	    "CLOCK %-5lld SBUS %-5lld DMAC %-5lld "
-
+	    "SR=%08x PC=%08x cpl=%08x intc=%08x dmac=%08x\n",
 	    _playstation2_evcnt.clock.ev_count,
 	    _playstation2_evcnt.sbus.ev_count,
 	    _playstation2_evcnt.dmac.ev_count,
@@ -279,7 +279,7 @@ _debug_print_intr(const char *ident)
 	    md_imask,
 	    (_reg_read_4(I_MASK_REG) << 16) |
 	    (_reg_read_4(I_STAT_REG) & 0x0000ffff),
-	    _reg_read_4(D_STAT_REG), sched_whichqs);
+	    _reg_read_4(D_STAT_REG));
 }
 #endif /* INTR_DEBUG */
 

Reply via email to