diff options
-rw-r--r-- | etc/etc.mac68k/MAKEDEV | 5 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/conf.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV index d57cfa837a9..83c652cc4a6 100644 --- a/etc/etc.mac68k/MAKEDEV +++ b/etc/etc.mac68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.28 1998/11/25 04:58:54 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.29 1999/05/01 06:28:47 downsj Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -157,7 +157,7 @@ ramdisk) std) rm -f console drum kmem mem reload zero null tty - rm -f klog stdin stdout stderr + rm -f klog stdin stdout stderr ksyms mknod console c 0 0 mknod drum c 3 0 ; chmod 640 drum ; chown root.kmem drum mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem @@ -170,6 +170,7 @@ std) mknod stdin c 21 0 ; chmod 666 stdin mknod stdout c 21 1 ; chmod 666 stdout mknod stderr c 21 2 ; chmod 666 stderr + mknod ksyms c 37 0 ; chmod 640 ksyms ; chown root.kmem ksyms ;; fd) diff --git a/sys/arch/mac68k/mac68k/conf.c b/sys/arch/mac68k/mac68k/conf.c index cd783251c66..96722000fcd 100644 --- a/sys/arch/mac68k/mac68k/conf.c +++ b/sys/arch/mac68k/mac68k/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.20 1998/09/25 09:20:53 todd Exp $ */ +/* $OpenBSD: conf.c,v 1.21 1999/05/01 06:28:20 downsj Exp $ */ /* $NetBSD: conf.c,v 1.41 1997/02/11 07:35:49 scottr Exp $ */ /* @@ -112,6 +112,8 @@ cdev_decl(ch); dev_decl(filedesc,open); #include "asc.h" cdev_decl(asc); +#include "ksyms.h" +cdev_decl(ksyms); #ifdef XFS #include <xfs/nxfs.h> cdev_decl(xfs_dev); @@ -162,7 +164,7 @@ struct cdevsw cdevsw[] = cdev_uk_init(NUK,uk), /* 34: SCSI unknown */ cdev_gen_ipf(NIPF,ipl), /* 35: IP filter log */ cdev_audio_init(NASC,asc), /* 36: ASC audio device */ - cdev_notdef(), /* 37 */ + cdev_ksyms_init(NKSYMS,ksyms), /* 37: Kernel symbols device */ cdev_notdef(), /* 38 */ cdev_notdef(), /* 39 */ cdev_notdef(), /* 40 */ |