Commit Graph

13308 Commits

Author SHA1 Message Date
dyson
a68eed7d53 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
dyson
0b00dbdf90 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
dyson
b37500ce5f Add a function prototype for pmap_prefault. 1996-03-28 04:54:50 +00:00
dyson
903a66b4af 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
dyson
f766c05521 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
ache
a835b01176 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
ache
8e37357d03 Fix typing bug cause flushing never occurse:
TIOCFLUSH -> TCIOFLUSH
1996-03-27 22:28:19 +00:00
wollman
527c495696 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
ache
bb04bf04b1 Use cfmakeraw() instead of all those termios settings 1996-03-27 21:40:55 +00:00
ache
d392938469 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
ache
53f9b4a901 Cleanup both raw & termianl modes termios flags settings 1996-03-27 21:16:32 +00:00
ache
b33cfa3fa2 Disable ^S/^Q flow control!!! 1996-03-27 20:53:03 +00:00
mpp
822fdcab93 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
bde
cd9e381ea0 Added drum device.
Submitted by:	partly by "Marc G. Fournier" <scrappy@ki.net>
1996-03-27 20:09:26 +00:00
bde
1e44bb87f6 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
bde
c8f7ae16bf Fixed ownerships of callout devices. 1996-03-27 20:03:32 +00:00
bde
5d47fb52e7 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
bde
9041dff38e Fixed permissions of /devfs/lkm. 1996-03-27 19:42:14 +00:00
bde
d88e11ffe2 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
bde
4719eb46e2 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
bde
b0e8c63dac Fixed name of /dev/speaker (it's not spkr). 1996-03-27 19:07:33 +00:00
bde
4f685cc31e Fixed permissions of /devfs/*random.
Fixed group and permissions of /devfs/perfmon.
1996-03-27 19:04:55 +00:00
bde
077361c207 Fixed mode of /devfs/console. 1996-03-27 18:55:19 +00:00
bde
a0f80d71f4 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
swallace
2296883240 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
bde
799d09c400 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
wollman
97675e8fd0 In tcp_respond(), check that ro->ro_rt is non-null before RTFREEing
it.
1996-03-27 18:23:16 +00:00
bde
f8f67e13c6 Removed now-bogus casts that were to hide the inconsistency between the
nonstandard normal version and the standard threaded version.

Removed a bogus L in a constant.  fpos_t's aren't longs, and casting to
fpos_t would be verbose.
1996-03-27 18:07:29 +00:00
bde
0994461968 Fixed bogus cross references.
Reviewed by:	mpp
1996-03-27 17:54:40 +00:00
bde
f1d0d6d615 Say what happens to the buffer when fgets() returns NULL.
Fixed bogus cross references and a misordered line.
1996-03-27 17:43:38 +00:00
bde
d3ae37ce3b Print stack pointer and frame pointer in trap messages.
Fixed "trace/trap" message.

Reviewed by:	davidg
1996-03-27 17:33:39 +00:00
bde
d7ec4a0463 Eliminated dependency on opt_sysvipc.h. 1996-03-27 17:21:57 +00:00
bde
c5add27b03 Removed vestiges of dummy frame at top of tmpstk.
Use alignment macros where appropriate.

Cleaned up #includes.
1996-03-27 17:16:29 +00:00
bde
5af00daee7 Fixed traceback for the following cases:
- legitimate null frames from idle() (traceback was aborted after a null
  pointer trap)
- second instruction of normal function prologue, and last instruction of
  a function (caller wasn't reported).

Reviewed by:	davidg
1996-03-27 17:06:03 +00:00
jkh
aa8eeb6bfd A few small stylistic changes. This still needs work! 1996-03-27 17:03:51 +00:00
jkh
95d3d4e12f Add a tag for getting to the "who's responsible for what" section easily. 1996-03-27 13:53:20 +00:00
hsu
3208691ff0 Make type compatible with Lite2.
Submitted by:	bde
1996-03-27 07:58:57 +00:00
joerg
d210241fb1 f2c's -krd does not work with f77 wrapper
Closes PR # gnu/1101

Submitted by:	kargl@troutmask.apl.washington.edu (Steven G. Kargl)
1996-03-27 07:46:04 +00:00
mpp
f24e7bc7c0 Updated some URL's for Digi International products so you can
actually follow the links, and change references from DigiBoard
to Digi International (I'm currently working for Digi, and we were
just asked to do the same thing with everything we are working
on when possible, so I figured I might as well do the same under FreeBSD).
1996-03-26 23:22:03 +00:00
joerg
a4bed6bf6a An incorrect path of ``dmesg'' is in the file.
Submitted by:	masafumi@tky007.tth.expo96.ad.jp (Masafumi NAKANE)
1996-03-26 21:33:09 +00:00
wollman
66e5084c48 Provide for creation of /dev/perfmon. 1996-03-26 21:04:54 +00:00
wollman
8697a279d5 Add a man page for the perfmon driver. 1996-03-26 20:57:26 +00:00
wollman
cbb78b9a73 Add support for Pentium and Pentium Pro performance counters.
(This code is as yet untested; to come after man page is written.)
This also adds inlines to cpufunc.h for the RDTSC, RDMSR, WRMSR, and RDPMC
instructions.  The user-mode interface is via a subdevice of mem.c;
there is also a kernel-size interface which might be used to aid
profiling.
1996-03-26 19:57:56 +00:00
fenner
3a263cba5b Make rip_input() take the header length
Move ipip_input() and rsvp_input() prototypes to ip_var.h
Remove unused prototype for rip_ip_input() from ip_var.h
Remove unused variable *opts from rip_output()
1996-03-26 19:16:46 +00:00
fenner
17873515fa Add missing splx(s) in IP_MULTICAST_IF
Submitted by:	Jim Binkley <jrb@cs.pdx.edu>
1996-03-26 18:56:51 +00:00
jfieber
0cd10045f1 Make sure there is a linefeed at the end of generated HTML files. 1996-03-26 13:26:53 +00:00
asami
b50b9c7209 Change how mirror writes are handled, according to the discussion on the
mailing list.

When initiating a write, ccdbuffer() returns two "struct ccdbuf *"s
linked together by the cb_mirror field.  "cb_pflags &
CCDPF_MIRROR_DONE" is set to 0 on both of them.

When a component returns to ccdiodone(), it checks if "cb_pflags &
CCDPF_MIRROR_DONE" is set or not.  If not, it sets the partner's
flag and returns.  If it is, it means its partner has already
returned, so it will go to the regular cleanup (which is in the
fallthrough code).

There should be no performance or functionality changes unless the
higher-level scsi driver does something with the resid value.  The change
is purely aesthetical and prepares us for the parity implementation.
1996-03-26 02:29:11 +00:00
julian
eae3c9253f Submitted by: "Marc G. Fournier" <scrappy@ki.net>
allows correct creation of subdirectories in devfs_add_devswf()
1996-03-25 21:56:59 +00:00
wollman
444648d459 Slight modification of RTO floor calculation. 1996-03-25 20:13:21 +00:00
phk
8e228c5ec3 Check the validity of ia->ia_ifp before we dereference it. 1996-03-25 17:41:23 +00:00