Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea Add latent generic soft interrupt initi...
details: https://anonhg.NetBSD.org/src/rev/00ba147d8253
branches: trunk
changeset: 559866:00ba147d8253
user: matt <matt%NetBSD.org@localhost>
date: Wed Mar 24 23:50:18 2004 +0000
description:
Add latent generic soft interrupt initialization.
diffstat:
sys/arch/powerpc/oea/oea_machdep.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r 626b9c9d66ae -r 00ba147d8253 sys/arch/powerpc/oea/oea_machdep.c
--- a/sys/arch/powerpc/oea/oea_machdep.c Wed Mar 24 23:49:13 2004 +0000
+++ b/sys/arch/powerpc/oea/oea_machdep.c Wed Mar 24 23:50:18 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: oea_machdep.c,v 1.14 2004/01/31 14:12:33 uebayasi Exp $ */
+/* $NetBSD: oea_machdep.c,v 1.15 2004/03/24 23:50:18 matt Exp $ */
/*
* Copyright (C) 2002 Matt Thomas
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oea_machdep.c,v 1.14 2004/01/31 14:12:33 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oea_machdep.c,v 1.15 2004/03/24 23:50:18 matt Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@@ -691,6 +691,12 @@
mclbytes*nmbclusters, VM_MAP_INTRSAFE, FALSE, NULL);
#endif
+#ifdef __HAVE_GENERIC_SOFT_INTERRUPTS
+ /*
+ * Initialize the generic soft interrupts.
+ */
+ softintr__init();
+#endif
format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
printf("avail memory = %s\n", pbuf);
}
@@ -705,6 +711,7 @@
printf("dumpsys: TBD\n");
}
+#ifndef __HAVE_GENERIC_SOFT_INTERRUPTS
/*
* Soft networking interrupts.
*/
@@ -719,8 +726,8 @@
#include <net/netisr_dispatch.h>
#undef DONETISR
-
}
+#endif
/*
* Convert kernel VA to physical address
Home |
Main Index |
Thread Index |
Old Index