Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmppc/pmppc Get rid of some debug stuff.
details: https://anonhg.NetBSD.org/src/rev/669a16d29d45
branches: trunk
changeset: 542249:669a16d29d45
user: augustss <augustss%NetBSD.org@localhost>
date: Fri Jan 24 11:55:19 2003 +0000
description:
Get rid of some debug stuff.
diffstat:
sys/arch/pmppc/pmppc/extintr.c | 9 +--------
sys/arch/pmppc/pmppc/machdep.c | 16 +---------------
2 files changed, 2 insertions(+), 23 deletions(-)
diffs (53 lines):
diff -r 209f0c1c88bf -r 669a16d29d45 sys/arch/pmppc/pmppc/extintr.c
--- a/sys/arch/pmppc/pmppc/extintr.c Fri Jan 24 11:51:42 2003 +0000
+++ b/sys/arch/pmppc/pmppc/extintr.c Fri Jan 24 11:55:19 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: extintr.c,v 1.6 2003/01/18 17:40:27 augustss Exp $ */
+/* $NetBSD: extintr.c,v 1.7 2003/01/24 11:55:19 augustss Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -405,13 +405,6 @@
cpc700_enable_irq(irq);
else
cpc700_disable_irq(irq);
-
-#if 0
- {
- extern void print_intr_regs(void);
- print_intr_regs();
- }
-#endif
}
void
diff -r 209f0c1c88bf -r 669a16d29d45 sys/arch/pmppc/pmppc/machdep.c
--- a/sys/arch/pmppc/pmppc/machdep.c Fri Jan 24 11:51:42 2003 +0000
+++ b/sys/arch/pmppc/pmppc/machdep.c Fri Jan 24 11:55:19 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.10 2003/01/24 11:51:42 augustss Exp $ */
+/* $NetBSD: machdep.c,v 1.11 2003/01/24 11:55:19 augustss Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -151,20 +151,6 @@
void pmppc_setup(void);
-void print_intr_regs(void);
-void
-print_intr_regs(void)
-{
- printf("CSR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_SR));
- printf("CER=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_ER));
- printf("CCR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_CR));
- printf("CPR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_PR));
- printf("CTR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_TR));
- printf("CMSR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_MSR));
- printf("CVR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_VR));
- printf("CVCR=%08x\n", in32(CPC_UIC_BASE + CPC_UIC_VCR));
-}
-
void
initppc(u_int startkernel, u_int endkernel, u_int args, void *btinfo)
{
Home |
Main Index |
Thread Index |
Old Index