summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-22 09:45:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-22 09:45:43 +0000
commit6ed3ac6216d5802e099750724efff68f5568b4dd (patch)
tree139e367f111184bc00b281b894064cd0de72f846 /sys
parenteacf773a7637cad71b1b37676d5bda1f752b110c (diff)
Map the interrupt enable register with pmap_kenter
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/autoconf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index 4067ce05e8a..ed269516a4c 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.42 2001/11/06 19:53:16 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.43 2001/11/22 09:45:42 art Exp $ */
/* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */
/*
@@ -349,10 +349,9 @@ bootstrap()
if (CPU_ISSUN4OR4C) {
/* Map Interrupt Enable Register */
- pmap_enter(pmap_kernel(), INTRREG_VA,
+ pmap_kenter_pa(INTRREG_VA,
INT_ENABLE_REG_PHYSADR | PMAP_NC | PMAP_OBIO,
- VM_PROT_READ | VM_PROT_WRITE,
- VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED);
+ VM_PROT_READ | VM_PROT_WRITE);
/* Disable all interrupts */
*((unsigned char *)INTRREG_VA) = 0;
}