Garrett Wollman
38544b49e7
Document the change in how the START and STOP ioctls operate
...
(counters can be started and stopped in numerical order brather
than all at once).
1996-03-28 20:57:11 +00:00
Joerg Wunsch
220e7e44c0
Add bootparams.5.
...
Obtained from: NetBSD
1996-03-28 20:49:31 +00:00
Garrett Wollman
28dc3d2757
>Blush<. Use the correct opcode for the WRMSR instruction.
1996-03-28 20:39:45 +00:00
Garrett Wollman
8dec8ed218
Nit: according to the Harvard code, it is necessary to clear the timestamp
...
counter before loading the performance-monitor control register. I'm
not sure I believe this, but we'll follow their lead for the moment.
As a result of this commit, the performance-monitoring test program that
I wrote now works (the program will find its way to share/examples).
1996-03-28 20:39:20 +00:00
Garrett Wollman
f7ff248201
Teach the disassembler about the 0f,3x family of instructions
...
(RDMSR, RDTSC, WRMSR, and RDPMC).
1996-03-28 20:35:03 +00:00
Jordan K. Hubbard
2fa43eefcf
A bug fix and a couple of new modes for the meteor driver.
...
Submitted-By: Jim Lowe <james@miller.cs.uwm.edu>
1996-03-28 20:28:14 +00:00
Steven Wallace
2983151216
Implement ioctl's IBCS2_TCFLSH and IBCS2_TCXONC. Improve termios conversion.
...
Implement xenix_eaccess() system call.
Obtained from: NetBSD
1996-03-28 19:53:21 +00:00
Marc G. Fournier
c322304792
Back out change of log from being in /var/run to back in /dev
1996-03-28 18:29:14 +00:00
Marc G. Fournier
23cbdfcbc7
Fixed a Typo
1996-03-28 16:51:12 +00:00
Bruce Evans
8375baabed
Undid last revision. It duplicated part of second last revision.
1996-03-28 15:40:17 +00:00
Bruce Evans
f953dd01c8
Removed an unused devfs variable again.
...
Added $Id$.
1996-03-28 15:25:43 +00:00
Bruce Evans
cf78fc4129
Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and
...
rev.1.44 was a subset of them.
1996-03-28 15:03:41 +00:00
Marc G. Fournier
7f49be143c
devfs_add_devsw() -> devfs_add_devswf modifications
...
Reviewed by: julian@freebsd.org
1996-03-28 14:36:48 +00:00
Marc G. Fournier
7e40c586ed
syslog.h -> changed /dev/log to be /var/run/log (its a socket, not a device)
...
devfsext.h -> added prototype for dev_linkf();
Reviewed by: julian@freebsd.org
1996-03-28 14:35:37 +00:00
Marc G. Fournier
ccbc58d3ca
Using devfs_add_devswf() instead of devfs_add_devsw()
...
Reviewed by: julian@freebsd.org
1996-03-28 14:33:59 +00:00
Marc G. Fournier
0d5b12e38e
Added dev_linkf() function (dev_link() + printf-style arguments)
...
Reviewed by: julian@freebsd.org
1996-03-28 14:32:27 +00:00
Marc G. Fournier
734daefc97
Switched from using devfs_add_devsw() to devfs_add_devswf()
...
Reviewed by: julian@freebsd.org
1996-03-28 14:31:42 +00:00
Marc G. Fournier
719d4dc5bd
Added DEVFS support to create ttyv* devices
...
Reviewed by: julian@freebsd.org
1996-03-28 14:30:37 +00:00
Marc G. Fournier
6e18ce4676
Switched from using devfs_add_sw() to using devfs_add_swf()
...
Reviewed by: julian@freebsd.org
1996-03-28 14:29:52 +00:00
Marc G. Fournier
14689d6f4f
Reviewed by: julian@freebsd.org
1996-03-28 14:26:46 +00:00
Andrey A. Chernov
e3118d3f5b
Directly clear parity area because cfmakeraw not do it
1996-03-28 13:38:59 +00:00
Andrey A. Chernov
81c280f58f
Back out one of my previous changes: don't clear PARODD,
...
so return to absolute minimum of changed flags now
1996-03-28 13:33:18 +00:00
John Fieber
ae207687ad
Add a missing quote on an attribute.
...
Remember, checking for errors before commiting is as simple as typing
`make'.
1996-03-28 12:32:44 +00:00
John Dyson
4e489ec421
Remove a now unnecessary prototype from pmap.c. Also remove now
...
unnecessary vm_fault's of page table pages in trap.c.
1996-03-28 05:40:58 +00:00
John Dyson
208bfdc98b
Significant code cleanup, and some performance improvement. Also,
...
mlock will now work properly without killing the system.
1996-03-28 04:59:34 +00:00
John Dyson
bb35ebd6cc
Add a function prototype for pmap_prefault.
1996-03-28 04:54:50 +00:00
John Dyson
30dcfc09f2
VM performance improvements, and reorder some operations in VM fault
...
in anticipation of a fix in pmap that will allow the mlock system call to work
without panicing the system.
1996-03-28 04:53:28 +00:00
John Dyson
f32dbbeeed
More map_simplify fixes from Alan Cox. This very significanly improves the
...
performance when the map has been chopped up. The map simplify operations
really work now.
Reviewed by: dyson
Submitted by: Alan Cox <alc@cs.rice.edu>
1996-03-28 04:22:17 +00:00
Andrey A. Chernov
3f0f267e5d
After real problem is found (flush never occurse), re-enable
...
software flow control, but re-enable it properly,
idea taken from taylor 'cu'
1996-03-27 22:58:21 +00:00
Andrey A. Chernov
71f99a8d0e
Fix typing bug cause flushing never occurse:
...
TIOCFLUSH -> TCIOFLUSH
1996-03-27 22:28:19 +00:00
Garrett Wollman
650e27cd25
A slightly-closer-to-working version that includes code appropriate
...
to regular Pentiums. Unfortunately, it doesn't work on mine,
but I'm not sure if this is the fault of the driver.
1996-03-27 22:02:18 +00:00
Andrey A. Chernov
b3f735dcfd
Use cfmakeraw() instead of all those termios settings
1996-03-27 21:40:55 +00:00
Andrey A. Chernov
9909e796b9
cfmakeraw:
...
clear PARODD bit too, help user program to set its own
parity via |
Set CREAD bit, it is 99% case
1996-03-27 21:29:32 +00:00
Andrey A. Chernov
8cf220d53b
Cleanup both raw & termianl modes termios flags settings
1996-03-27 21:16:32 +00:00
Andrey A. Chernov
38e0acf3bc
Disable ^S/^Q flow control!!!
1996-03-27 20:53:03 +00:00
Mike Pritchard
064f007493
Added missing section numbers to a bunch of .Xr macros, or
...
converted them into .Fn macros where appropriate. Also fixed
up some minor formatting problems.
1996-03-27 20:49:07 +00:00
Bruce Evans
5ea390eff5
Added drum device.
...
Submitted by: partly by "Marc G. Fournier" <scrappy@ki.net>
1996-03-27 20:09:26 +00:00
Bruce Evans
9120a859f5
Fixed name of pt device (it has a unit number). devfs still only creates
...
one.
Added control device.
1996-03-27 20:07:29 +00:00
Bruce Evans
6c4591a089
Fixed ownerships of callout devices.
1996-03-27 20:03:32 +00:00
Bruce Evans
27d02c9849
Fixed name of /dev/fs/klog (it's not "log").
...
Submitted by: "Marc G. Fournier" <scrappy@ki.net> and edited by me
1996-03-27 19:45:28 +00:00
Bruce Evans
adcbf406c5
Fixed permissions of /devfs/lkm.
1996-03-27 19:42:14 +00:00
Bruce Evans
8fb3332429
Fixed the unit numbers of the devfs `fd' devices.
...
Made the devfs `fd' devices bug for bug compatible with the ones created
by MAKEDEV:
- ownership is bin.bin, not root.wheel, except for std*. The devfsext
interface doesn't seem to allow specifying the ownership of /devfs/fd,
so it's still incompatible.
- std* aren't links to fd/[0-2].
1996-03-27 19:19:58 +00:00
Bruce Evans
df957ee1b3
Moved the initialization of the devfs devices to after the initialization
...
of the devswitch so that it actually works.
1996-03-27 19:11:41 +00:00
Bruce Evans
2412bc33ad
Fixed name of /dev/speaker (it's not spkr).
1996-03-27 19:07:33 +00:00
Bruce Evans
3dffe3c5f6
Fixed permissions of /devfs/*random.
...
Fixed group and permissions of /devfs/perfmon.
1996-03-27 19:04:55 +00:00
Bruce Evans
1170175e62
Fixed mode of /devfs/console.
1996-03-27 18:55:19 +00:00
Bruce Evans
6ae323519c
Fixed group of disk devices (was wheel or games, now operator).
...
Added scsi control devices.
Converted almost everything that I changed to use devfs_add_devswf()
and verbose id macros.
st.c:
Renamed enrst* to erst* since that's what the current name is (enrst
seems to be an old name).
1996-03-27 18:50:10 +00:00
Steven Wallace
a5e1a0f2e9
The recently introduced sv_sendsig entry of the sysentvec structure
...
is incorrectly set to 0, for the purpose of "ignoring" the signal.
This does not ignore the signal, but rather, executes the function
at location 0 in kernel mode, which shortly thereafter causes a panic.
The sv_sensig entry for ibcs2 emulation should be set to the system's
normal sendsig routine.
1996-03-27 18:39:40 +00:00
Bruce Evans
bf0d367123
Define magic uids and gids for use in devfs_add_devsw[f]().
...
The kernel shouldn't know these values, but there is currently no
better way of setting them.
1996-03-27 18:29:29 +00:00
Garrett Wollman
ebcae94e4f
In tcp_respond(), check that ro->ro_rt is non-null before RTFREEing
...
it.
1996-03-27 18:23:16 +00:00