1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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
This commit is contained in:
Guido van Rooij 1994-03-02 20:18:09 +00:00
parent b0568305d3
commit 8a7af68d49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1234
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
#
# GENERICAH -- Generic machine with WD/AHx family disks
#
# $Id: GENERICAH,v 1.26 1994/02/28 04:19:36 alm Exp $
# $Id: GENERICAH,v 1.27 1994/03/01 01:27:01 alm Exp $
#
machine "i386"
@ -78,7 +78,7 @@ pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 2
pseudo-device pty 12
pseudo-device pty 16
pseudo-device speaker
pseudo-device swappager

View File

@ -1,7 +1,7 @@
#
# GENERICBT -- Generic machine with WD/BTx family disks
#
# $Id: GENERICBT,v 1.26 1994/02/28 04:19:38 alm Exp $
# $Id: GENERICBT,v 1.27 1994/03/01 01:27:03 alm Exp $
#
machine "i386"
@ -78,7 +78,7 @@ pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 2
pseudo-device pty 12
pseudo-device pty 16
pseudo-device speaker
pseudo-device swappager

View File

@ -1,7 +1,7 @@
#
# SYSCONS -- Generic machine with WD/AHx family disks and syscons
#
# $Id: SYSCONS,v 1.19 1994/02/28 04:19:39 alm Exp $
# $Id: SYSCONS,v 1.20 1994/03/01 01:27:03 alm Exp $
#
machine "i386"
@ -79,7 +79,7 @@ pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 2
pseudo-device pty 4
pseudo-device pty 16
pseudo-device speaker
pseudo-device swappager