summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/pmax/conf')
-rw-r--r--sys/arch/pmax/conf/MINIROOT184
-rw-r--r--sys/arch/pmax/conf/Makefile.pmax4
-rw-r--r--sys/arch/pmax/conf/NEWCONF185
-rw-r--r--sys/arch/pmax/conf/PLUTO54
-rw-r--r--sys/arch/pmax/conf/files.pmax3
-rw-r--r--sys/arch/pmax/conf/std.pmax6
6 files changed, 59 insertions, 377 deletions
diff --git a/sys/arch/pmax/conf/MINIROOT b/sys/arch/pmax/conf/MINIROOT
deleted file mode 100644
index fadaa97bcb2..00000000000
--- a/sys/arch/pmax/conf/MINIROOT
+++ /dev/null
@@ -1,184 +0,0 @@
-#
-# DECstation (3100 or 5000/xxx)
-#
-# Generic config.new configuration for NetBSD/pmax
-# $NetBSD: MINIROOT,v 1.1 1995/12/28 16:11:31 jonathan Exp $
-#
-include "std.pmax"
-
-maxusers 8
-
-# enables fudging of swap blocks to swap after a miniroot
-# in the b partition, and make the kernel call setconf() to ask
-# what the root device is.
-options GENERIC
-
-
-# replaces "cpu ds5k/240"
-options DS5000 # generic TC support and 3MAX support
-options DS5000_240 # 3MAXPLUS (kn03) support
-options DS5000_100 # 3MIN (kn02ba/kmin) support
-options DS5000_25 # MAXINE (kn02ca/xine) support
-options DS5000_200 # 3MAX (kn02) support, one day
-
-
-options DS3100 # PMAX (kn01) DECstation 2100, 3100
-
-
-# You need to set this locally, but it doesn't do much outside the kernel.
-# Set up /etc/localtime instead.
-options TIMEZONE="0" # minutes west of GMT (for)
-options DST=0 # use daylight savings rules
-
-
-# Standard system options
-options SWAPPAGER # swap pager (anonymous and swap space)
-options DEVPAGER # device pager (mapped devices)
-#options DIAGNOSTIC # extra kernel debugging checks
-options DEBUG # extra kernel debugging support
-options "COMPAT_43" # compatibility with 4.3BSD binaries
-options KTRACE # system call tracing support
-options "NKMEMCLUSTERS=1024" # 4K pages in kernel malloc pool
-
-#options KGDB # support for kernel gdb
-#options "KGDBRATE=19200" # kernel gdb port rate (default 9600)
-#options "KGDBDEV=15*256+0" # device for kernel gdb
-
-# Filesystem options
-options FIFO # POSIX fifo support (in all filesystems)
-options FFS,QUOTA # fast filesystem with user and group quotas
-options MFS # memory-based filesystem
-options NFSCLIENT # Sun NFS-compatible filesystem (client)
-options NFSSERVER # Sun NFS-compatible filesystem (server)
-options KERNFS # kernel data-structure filesystem
-#options FDESC # user file descriptor filesystem
-#options UMAPFS # uid/gid remapping filesystem
-options NULLFS # null layer filesystem
-#options LFS # Log-based filesystem (still experimental)
-#options PORTAL # portal filesystem (still experimental)
-
-# Networking options
-options INET # Internet protocols
-options "TCP_COMPAT_42" # compatibility with 4.2BSD TCP/IP
-options GATEWAY # IP packet forwarding
-#options MULTICAST # Multicast support
-#options MROUTING # Multicast routing support
-#options ISO # OSI networking
-#options TPIP
-#options EON
-
-options COMPAT_10 # Pre-NetBSD 1.1 compatibility
-
-# pmax specific
-options COMPAT_ULTRIX # ultrix compatibility
-
-# Note that this configuration is unlikely to work, yet...
-config gennetbsd swap generic
-
-
-########################################################################
-# #
-# DECstation Turbochannel configuration and options #
-# #
-########################################################################
-
-tc* at mainbus0 # All but PMAXes have a turbochannel
-
-
-########################################################################
-# Common configuration for machines with IO ASIC chips #
-# (3MIN, MAXINE, 3MAXPLUS) #
-########################################################################
-ioasic0 at tc?
-clock0 at ioasic? # RTC
-asc0 at ioasic? # system SCSI subslot
-scc0 at ioasic?
-le0 at ioasic? # tc onboard lance
-scc1 at ioasic? # Not present on Maxine
-
-########################################################################
-# MAXINE-only baseboard devices and on-baseboard "options" #
-########################################################################
-xcfb0 at tc? # TC framebuffer "option"
-dtop0 at ioasic0
-#isdn at ioasic0
-#fdc at ioasic0 # floppy disk
-
-
-########################################################################
-# Configuration for 3MAX (5000/200) which has turbochannel but no ASIC.#
-# 3MAX (5000/200) baseboard devices and on-baseboard "options" #
-########################################################################
-clock0 at mainbus0 # RTC
-dc0 at mainbus0
-le0 at tc? #slot ? offset ? # TC ether "option" on baseboard
-asc0 at tc? # TC scsi "option" on baseboard
-# For now, pretend this machine has an IOASIC.
-dc0 at ioasic? # dc7083 four-port DZ device
-
-########################################################################
-# Supported turbochannel option cards #
-########################################################################
-cfb0 at tc?
-mfb0 at tc?
-sfb0 at tc?
-#sfb1 at tc?
-le* at tc? #slot ? offset ? # TC ether option
-#tt0 at tc? #slot? offset ?
-
-
-########################################################################
-# Decstation 2100/3100 (aka PMAX aka KN01) configuration. #
-# (these don't really have any options except a framebuffer.) #
-########################################################################
-clock0 at mainbus0 # RTC
-pm0 at mainbus0 # 3100 onboard fb
-dc0 at mainbus0 # dc7083 four-port DZ device
-le0 at mainbus0 # 3100 onboard lance
-sii0 at mainbus0 # onboard scsi
-
-
-########################################################################
-# SCSI configuration #
-########################################################################
-
-#
-# SCSI configuration for new-config machine-independent SCSI driver
-#
-scsibus* at sii?
-scsibus* at asc?
-
-sd* at scsibus? target ? lun ?
-st* at scsibus? target ? lun ?
-cd* at scsibus? target ? lun ?
-
-
-#
-# SCSI configuration for old DECstation SCSI driver
-#
-oldscsibus* at sii?
-oldscsibus* at asc?
-
-rz0 at oldscsibus? target ? drive ?
-rz1 at oldscsibus? target ? drive ?
-rz2 at oldscsibus? target ? drive ?
-rz3 at oldscsibus? target ? drive ?
-rz4 at oldscsibus? target ? drive ?
-rz5 at oldscsibus? target ? drive ?
-tz0 at oldscsibus? target? drive ?
-tz1 at oldscsibus? target? drive ?
-
-
-#
-# pseudo-devices
-#
-
-pseudo-device sl 4 # serial-line IP ports
-pseudo-device pty 64 # pseudo ptys
-pseudo-device bpfilter 16 # packet filter ports
-pseudo-device loop
-pseudo-device vnd 4 # virtual disk ick
-
-#pseudo-device ether # From old config. what does it mean?
-pseudo-device rasterconsole 1 # NB: raster console requires "fb"
-pseudo-device fb 3 # up to 3 framebuffers
diff --git a/sys/arch/pmax/conf/Makefile.pmax b/sys/arch/pmax/conf/Makefile.pmax
index 2830beeaf6d..d3122845a7b 100644
--- a/sys/arch/pmax/conf/Makefile.pmax
+++ b/sys/arch/pmax/conf/Makefile.pmax
@@ -110,7 +110,7 @@ assym.h: genassym
genassym: genassym.o
${CC} -o $@ genassym.o
-genassym.o: ${S}/arch/mips/mips/genassym.c
+genassym.o: ${S}/arch/pmax/pmax/genassym.c
${NORMAL_C_C}
param.c: $S/conf/param.c
@@ -156,7 +156,7 @@ depend:: .depend
mkdep ${AFLAGS} ${CPPFLAGS} ${PMAX}/pmax/locore.S ${PMAX}/pmax/fp.S
mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
- mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${S}/arch/mips/mips/genassym.c
+ mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${S}/arch/pmax/pmax/genassym.c
# depend on root or device configuration
diff --git a/sys/arch/pmax/conf/NEWCONF b/sys/arch/pmax/conf/NEWCONF
deleted file mode 100644
index 5daf259b4aa..00000000000
--- a/sys/arch/pmax/conf/NEWCONF
+++ /dev/null
@@ -1,185 +0,0 @@
-#
-# DECstation (3100 or 5000/xxx)
-#
-# Generic config.new configuration for NetBSD/pmax
-# $NetBSD: NEWCONF,v 1.6.4.2 1996/06/17 05:14:26 jonathan Exp $
-#
-include "std.pmax"
-
-maxusers 8
-
-# does not really do anything anymore, but this replaces "ident GENERIC"
-# (actually, it enables fudging of swap blocks to swap after a miniroot
-# in the b partition, and make the kernel call setconf() to ask
-# what the root device is.)
-#options GENERIC
-
-options CPU_R3000 # R2000/R3000 support
-
-# replaces "cpu ds5k/240"
-options DS5000_240 # 3MAXPLUS (kn03) support
-options DS5000_100 # 3MIN (kn02ba/kmin) support
-options DS5000_25 # MAXINE (kn02ca/xine) support
-options DS5000_200 # 3MAX (kn02) support, one day
-
-
-options DS3100 # PMAX (kn01) DECstation 2100, 3100
-
-
-# You need to set this locally, but it doesn't do much outside the kernel.
-# Set up /etc/localtime instead.
-options TIMEZONE="8*60" # minutes west of GMT (for)
-options DST=1 # use daylight savings rules
-
-
-# Standard system options
-options SWAPPAGER # swap pager (anonymous and swap space)
-options DEVPAGER # device pager (mapped devices)
-#options DIAGNOSTIC # extra kernel debugging checks
-options DEBUG # extra kernel debugging support
-options "COMPAT_43" # compatibility with 4.3BSD binaries
-options KTRACE # system call tracing support
-options "NKMEMCLUSTERS=1024" # 4K pages in kernel malloc pool
-#options KGDB # support for kernel gdb
-#options "KGDBRATE=19200" # kernel gdb port rate (default 9600)
-#options "KGDBDEV=15*256+0" # device for kernel gdb
-
-# Filesystem options
-options FIFO # POSIX fifo support (in all filesystems)
-options FFS,QUOTA # fast filesystem with user and group quotas
-options MFS # memory-based filesystem
-options NFSCLIENT # Sun NFS-compatible filesystem (client)
-options NFSSERVER # Sun NFS-compatible filesystem (server)
-options KERNFS # kernel data-structure filesystem
-#options FDESC # user file descriptor filesystem
-#options UMAPFS # uid/gid remapping filesystem
-options NULLFS # null layer filesystem
-#options LFS # Log-based filesystem (still experimental)
-#options PORTAL # portal filesystem (still experimental)
-
-# Networking options
-options INET # Internet protocols
-options "TCP_COMPAT_42" # compatibility with 4.2BSD TCP/IP
-options GATEWAY # IP packet forwarding
-#options MULTICAST # Multicast support
-#options MROUTING # Multicast routing support
-#options ISO # OSI networking
-#options TPIP
-#options EON
-
-# pmax specific
-options COMPAT_ULTRIX # ultrix compatibility
-options "HZ=256" # RTC rate required
-
-# Note that this configuration is unlikely to work, yet...
-config netbsd root on rz0a swap on rz0b and rz1b dumps on rz0b
-config rz1netbsd root on rz1a swap on rz0b and rz1b dumps on rz0b
-#config gennetbsd swap generic
-
-
-########################################################################
-# #
-# DECstation Turbochannel configuration and options #
-# #
-########################################################################
-
-tc* at mainbus0 # All but PMAXes have a turbochannel
-
-
-########################################################################
-# Common configuration for machines with IO ASIC chips #
-# (3MIN, MAXINE, 3MAXPLUS) #
-########################################################################
-ioasic0 at tc?
-clock0 at ioasic? # RTC
-asc0 at ioasic? # system SCSI subslot
-scc0 at ioasic?
-le0 at ioasic? # tc onboard lance
-scc1 at ioasic? # Not present on Maxine
-
-########################################################################
-# MAXINE-only baseboard devices and on-baseboard "options" #
-########################################################################
-xcfb0 at tc? # TC framebuffer "option"
-dtop0 at ioasic0
-#isdn at ioasic0
-#fdc at ioasic0 # floppy disk
-
-
-########################################################################
-# Configuration for 3MAX (5000/200) which has turbochannel but no ASIC.#
-# 3MAX (5000/200) baseboard devices and on-baseboard "options" #
-########################################################################
-clock0 at mainbus0 # RTC
-dc0 at mainbus0
-le0 at tc? #slot ? offset ? # TC ether "option" on baseboard
-asc0 at tc? # TC scsi "option" on baseboard
-# For now, pretend this machine has an IOASIC.
-dc0 at ioasic? # dc7083 four-port DZ device
-
-########################################################################
-# Supported turbochannel option cards #
-########################################################################
-cfb0 at tc?
-mfb0 at tc?
-sfb0 at tc?
-#sfb1 at tc?
-le* at tc? #slot ? offset ? # TC ether option
-#tt0 at tc? #slot? offset ?
-
-
-########################################################################
-# Decstation 2100/3100 (aka PMAX aka KN01) configuration. #
-# (these don't really have any options except a framebuffer.) #
-########################################################################
-clock0 at mainbus0 # RTC
-pm0 at mainbus0 # 3100 onboard fb
-dc0 at mainbus0 # dc7083 four-port DZ device
-le0 at mainbus0 # 3100 onboard lance
-sii0 at mainbus0 # onboard scsi
-
-
-########################################################################
-# SCSI configuration #
-########################################################################
-
-#
-# SCSI configuration for new-config machine-independent SCSI driver
-#
-scsibus* at sii?
-scsibus* at asc?
-
-sd* at scsibus? target ? lun ?
-st* at scsibus? target ? lun ?
-cd* at scsibus? target ? lun ?
-
-
-#
-# SCSI configuration for old DECstation SCSI driver
-#
-oldscsibus* at sii?
-oldscsibus* at asc?
-
-rz0 at oldscsibus? target ? drive ?
-rz1 at oldscsibus? target ? drive ?
-rz2 at oldscsibus? target ? drive ?
-rz3 at oldscsibus? target ? drive ?
-rz4 at oldscsibus? target ? drive ?
-rz5 at oldscsibus? target ? drive ?
-tz0 at oldscsibus? target? drive ?
-tz1 at oldscsibus? target? drive ?
-
-
-#
-# pseudo-devices
-#
-
-pseudo-device sl 4 # serial-line IP ports
-pseudo-device pty 64 # pseudo ptys
-pseudo-device bpfilter 16 # packet filter ports
-pseudo-device loop
-pseudo-device vnd 4 # virtual disk ick
-
-#pseudo-device ether # From old config. what does it mean?
-pseudo-device rasterconsole 1 # NB: raster console requires "fb"
-pseudo-device fb 3 # up to 3 framebuffers
diff --git a/sys/arch/pmax/conf/PLUTO b/sys/arch/pmax/conf/PLUTO
new file mode 100644
index 00000000000..cbb5c2fc308
--- /dev/null
+++ b/sys/arch/pmax/conf/PLUTO
@@ -0,0 +1,54 @@
+#
+# PLUTO - specific config(8) file for pluto
+#
+
+machine pmax
+
+options CPU_R3000
+options DS3100
+options HZ=256
+options NKMEMCLUSTERS=1024
+options TIMEZONE=0
+options DST=0
+
+maxusers 8
+
+options SWAPPAGER
+options VNODEPAGER
+options DEVPAGER
+
+options COMPAT_43
+options NATIVE_ELF
+options FFS
+options FIFO
+options INET
+options NFSCLIENT
+options NFSSERVER
+options KTRACE
+
+config netbsd root on rz0a swap on rz0b dumps on rz0b
+
+mainbus0 at root
+
+cpu* at mainbus0
+clock0 at mainbus0
+pm0 at mainbus0
+dc0 at mainbus0
+le0 at mainbus0
+sii0 at mainbus0
+oldscsibus* at sii?
+rz0 at oldscsibus? target ? drive ?
+rz1 at oldscsibus? target ? drive ?
+rz2 at oldscsibus? target ? drive ?
+rz3 at oldscsibus? target ? drive ?
+rz4 at oldscsibus? target ? drive ?
+rz5 at oldscsibus? target ? drive ?
+tz0 at oldscsibus? target ? drive ?
+tz1 at oldscsibus? target ? drive ?
+
+pseudo-device loop
+pseudo-device rasterconsole 1
+pseudo-device fb 1
+pseudo-device sl 1
+pseudo-device bpfilter 8
+pseudo-device pty 32
diff --git a/sys/arch/pmax/conf/files.pmax b/sys/arch/pmax/conf/files.pmax
index 8d4c4d4255b..df0a35a0fcf 100644
--- a/sys/arch/pmax/conf/files.pmax
+++ b/sys/arch/pmax/conf/files.pmax
@@ -215,3 +215,6 @@ file arch/pmax/pmax/conf-glue.c
include "../../../compat/ultrix/files.ultrix"
# Configs
+file arch/pmax/pmax/cpu_exec.c
+file arch/pmax/pmax/mem.c
+file arch/pmax/pmax/process_machdep.c
diff --git a/sys/arch/pmax/conf/std.pmax b/sys/arch/pmax/conf/std.pmax
deleted file mode 100644
index 601b5ec883d..00000000000
--- a/sys/arch/pmax/conf/std.pmax
+++ /dev/null
@@ -1,6 +0,0 @@
-# $NetBSD: std.pmax,v 1.0 1995/04/28 03:10:41 jonathan Exp
-# standard pmax info
-
-machine pmax mips
-mainbus0 at root
-cpu* at mainbus0