summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 04:48:17 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 04:48:17 +0000
commitaf0007396fc4d0e9d9fb3d698f04a97cefe444b8 (patch)
treec18e4d07b96b39b506ed5ba69db22f194d86d87d /sys/arch/powerpc
parente171e2ef3f481d792cccc4de3c5103b8f232cb19 (diff)
support for putting ofroot on mainbus, not on root.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/ofw_machdep.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/ofw_machdep.c b/sys/arch/powerpc/powerpc/ofw_machdep.c
index 4e6184afe79..b85972da701 100644
--- a/sys/arch/powerpc/powerpc/ofw_machdep.c
+++ b/sys/arch/powerpc/powerpc/ofw_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofw_machdep.c,v 1.6 1998/06/28 04:35:17 rahnds Exp $ */
+/* $OpenBSD: ofw_machdep.c,v 1.7 1998/09/09 04:48:16 rahnds Exp $ */
/* $NetBSD: ofw_machdep.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
@@ -118,6 +118,14 @@ ofrootfound()
}
}
void
+ofw_intr_establish()
+{
+ if (system_type == OFWMACH) {
+ pending_int_f = ofw_do_pending_int;
+ ofw_intr_init();
+ }
+}
+void
ofw_intr_init()
{
/*