HardenedBSD/sys/i386/conf/SYSCONS
Guido van Rooij 8a7af68d49 Ttys structures are now allocated dynamically via ttymalloc/ttyfree.
This inetrface should be used from now on.
pseudo device pty xx still keeps its meaning: a maximum of
xx ptys is allowed.
A ringbuffer is now 2040 bytes long, per Garrett Wollman's request.
The changes are inspired by the way NetBSD did it (thanks for that!),
though I made it slihghtly different, including the interface so
at least 75% of the allocated space is deallocated when the tty is
closed.
Note further that it is easy to modify the ringbuffer length runtime.
This will have to wait untill some later date...


-Guido
1994-03-02 20:18:09 +00:00

88 lines
2.5 KiB
Plaintext

#
# SYSCONS -- Generic machine with WD/AHx family disks and syscons
#
# $Id: SYSCONS,v 1.20 1994/03/01 01:27:03 alm Exp $
#
machine "i386"
cpu "I386_CPU"
cpu "I486_CPU"
ident SYSCONS
timezone 8 dst
maxusers 10
maxfdescs 2048 #Max file descriptors per process
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options ISOFS #ISO File System
options NFS #Network File System
options PCFS #MSDOS File System
options "COMPAT_43" #Compatible with BSD 4.3
options "TCP_COMPAT_42" #TCP/IP compatible with 4.2
options XSERVER #Xserver
options UCONSOLE #X Console support
options "NCONS=8" #8 virtual consoles
options "FAT_CURSOR" #block cursor in syscons
options "STAR_SAVER" #syscons "stars" screen saver
#options GATEWAY #Host is a Gateway (forwards packets)
config "386bsd" root on wd0 swap on wd0 and sd0 dumps on wd0
controller isa0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
disk fd1 at fdc0 drive 1
#tape ft0 at fdc0 drive 2
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
controller ahb0 at isa? bio irq 11 vector ahbintr
controller aha0 at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
controller scbus0
device sd0
device sd1
device sd2
device sd3
device st0
device st1
device cd0 #Only need one of these, the code dynamically grows
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr
device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr
device lpt0 at isa? port "IO_LPT3" tty irq 7 vector lptintr
device lpa0 at isa? port "IO_LPT1" tty
device lpa1 at isa? port "IO_LPT2" tty
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr
device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 2
pseudo-device pty 16
pseudo-device speaker
pseudo-device swappager
pseudo-device vnodepager
pseudo-device devpager