Commit Graph

34240 Commits

Author SHA1 Message Date
dillon
f8ee3e8fee Documentation update for new M_AWAIT flag to kernel malloc, plus revamp
the descriptions of the flags and return value.
1998-12-23 01:05:06 +00:00
dillon
9f074776ec update asleep/await sections 1998-12-23 00:24:59 +00:00
imp
fb5b48c1cb Invalid is spelled with the v *BEFORE* the a. 1998-12-22 22:31:06 +00:00
abial
262c953637 Fix typo.
Submitted by:	Ilya V. Komarov <mur@lynx.ru>
1998-12-22 21:40:56 +00:00
luigi
245474e1f7 Add entries for DUMMYNET and BRIDGE 1998-12-22 20:44:13 +00:00
luigi
fa2dcdbf3d 'ip_fw_head' and 'M_IPFW' are also used in ip_dummynet so cannot be
static...
Reported by: Dave Alden
1998-12-22 20:38:06 +00:00
eivind
987c440a03 Error check is not necessary - this function cannot fail in this
context.

Noted by:	gibbs
1998-12-22 20:21:12 +00:00
eivind
abd545d666 Staticize.
Reviewed by:	gibbs
1998-12-22 20:05:23 +00:00
dillon
6aca6ccafb Add manual page describing kernel buffer management system (i.e.
kern/vfs_bio.c).
1998-12-22 19:47:48 +00:00
dillon
430b8a7a00 Grammer / Consistancy update
Submitted by:	Eivind Eklund <eivind@yes.no>
1998-12-22 19:02:51 +00:00
dillon
56451ce788 Adjust some comments to prevent future confusion on the implementation.
Also add a reference to the buf(9) manual page.
1998-12-22 18:57:30 +00:00
gibbs
8a434eb2e3 Don't calculate the residual twice. 1998-12-22 18:14:50 +00:00
gibbs
b6ee7c1b3f Staticize the overrun buffer so that they are not shared between
cards of different bus types as each bus type may have a different
bus mapping.

Submitted by:	Eivind Eklund <eivind@yes.no>
1998-12-22 18:14:15 +00:00
gibbs
b4aed04769 Return NULL on resource shortage instead of blindly continuing.
Obtained from: Eivind Eklund <eivind@yes.no>
1998-12-22 18:12:09 +00:00
mjacob
247c297d5a Print out latched cdb's correlated to latched errors in MTIOCERRSTAT case.
Complete the addition of the setmark support
(from Martin.Birgmeier@aon.at).
1998-12-22 17:28:25 +00:00
mjacob
9dfd874676 Add a quirk NORRLS (no reserve/release) which can (and
will) get set for the devices that don't actually support
reserve/release (so we don't keep trying it).

Add softc storage and manage storing last I/O and CTL
commands that had errors (for correlative purposes).

In saclose clear the 'MOUNTED' bit if we either rewind or
unload (yes, this shouldn't be necessary since the next open
should catch whether a tape change occurred, but I'm having
some questions about that actually working so this is
safer for the moment). Oh, forgot to mention in previous
commit messages that some of the failures particularly at
close time cause the tape to be ejected (for the sake
of safety)- all this prior to redoing the state machine
(which is in progress) which will try and handle this better.

Complete the addition of the setmark support
(from Martin.Birgmeier@aon.at).
1998-12-22 17:26:13 +00:00
mjacob
1a33b99ce0 add command storage to correlate with latched error 1998-12-22 17:17:17 +00:00
luoqi
fa77afb3a9 Correctly handle misaligned VMIO buffer (whose start or end offset in the VM
object are not page aligned). This should fix the mount_msdos panic after a
failed attemp to mount as ffs.

Reviewed By:	Matthew Dillon	<dillon@apollo.backplane.com>
		Archie Cobbs	<archie@whistle.com>
		Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-12-22 14:43:58 +00:00
jkh
09fed40570 Add /usr/share/examples/bootforth so that world builds don't start falling
over.

Forgotten by:	abial :-)
1998-12-22 12:33:32 +00:00
jkh
e72da22834 Collapse the "get" code substantially by combining common functions.
Also make mountpoint for each media type easier to change.
Also reshuffled some menus for easier usage.
1998-12-22 12:31:26 +00:00
abial
91bd0e66be Add examples how to use the terminal emulation code in /boot/loader to
create nice startup menus. Improvements are warmly welcome. :-)
1998-12-22 12:15:45 +00:00
jkh
c1e3c82572 User reports that using mount_null destroyed his filesystem, I reply
that nullfs really doesn't work, he askes why this isn't noted for the
"dangerous" filesystems, I go "hmmm."
1998-12-22 11:52:10 +00:00
abial
75069f671c Add simple terminal emulator, compatible with cons25. Currently supported
capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind
-DTERM_EMU - should it cause any problems, you can remove this define
to get back the old behaviour.

You'll find some examples how to use it in src/share/examples/bootforth.

Reviewed by:	jkh
1998-12-22 11:51:25 +00:00
abial
866889d236 Add new word ".#" which acts like "." but doesn't output a space separator.
I found it impossible to output parametrized strings like "\033[%d;%dH"
without building them first in pad area.
1998-12-22 11:46:27 +00:00
abial
524f060924 * Begin integration of built-ins with Forth: leave the exit code from
a built-in command on Forth stack.
* Fix a bug which was causing a panic when loading stripped aout kernels.

Reviewed by:	jkh
1998-12-22 11:41:51 +00:00
joerg
32888e39b1 For whatever reason, i've thrown away this change yesterday instead of
committing it: include rdp.4.

Pointed out by:	bde
1998-12-22 09:36:29 +00:00
sos
ac56d181bd The result of running make linux_sysent.c on the new syscalls.master 1998-12-22 09:00:47 +00:00
sos
23bd50b5ed Fix NOIMPL -> NOPROTO as per bruce. 1998-12-22 08:59:19 +00:00
eivind
026c874b6d Better error checking and more complete struct initialization.
Reviewed by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-12-22 00:52:27 +00:00
eivind
a4213663c9 Check return value of tsleep(). I've checked of all call points -
there does not seem to be a problem with this.

PR:		kern/8732
Analysis by:	David G Andersen <danderse@cs.utah.edu>
Tested by:	Alfred Perlstein <bright@hotjobs.com>
1998-12-22 00:44:11 +00:00
eivind
a0317115f8 Staticize. 1998-12-21 23:38:33 +00:00
luigi
c797b9a57d Recover from previous dummynet screwup 1998-12-21 22:40:54 +00:00
luigi
2a1314ea52 Add manpages for dummynet and bridging 1998-12-21 22:37:53 +00:00
mjacob
e517d1fb13 Add in forward space/backward space/write SetMarks commands.
Obtained from:Martin.Birgmeier@aon.at
1998-12-21 22:14:02 +00:00
luigi
4eebef513c Restore 1.82->1.83 change deleted by mistake< per Bruce suggestion 1998-12-21 21:36:40 +00:00
des
9eb6071298 Implement and document file list retrieval. 1998-12-21 19:41:50 +00:00
sos
5dc2c17026 The result of running make linux_sysent.c on the new syscall.master file 1998-12-21 19:31:57 +00:00
sos
885947f39b Syscall 168 (poll) is not implemented in the Linux emulator. This
syscall is used by Oracle.

PR:		9154
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1998-12-21 19:28:13 +00:00
sos
65891f434b Kill(pid, 0) normally returns 0 on both FreeBSD and Redhat after having
performed all sorts of sanity checks. The FreeBSD linux emulator returns
EINVAL in such a case.
Allowing signal 0 to be passed to kill will result in compatible behaviour.

PR:	9082
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1998-12-21 19:21:36 +00:00
joerg
7227af22eb As promised, cleanup the #if __FreeBSD_version mess. 1998-12-21 18:11:10 +00:00
joerg
b85c301312 Include information about rdp(4). 1998-12-21 18:07:16 +00:00
joerg
8333c61640 Include rdp(4).
Should i also include it into GENERIC?
1998-12-21 18:04:20 +00:00
joerg
26fd01e252 This commit was generated by cvs2svn to compensate for changes in r41980,
which included commits to RCS files with non-trunk default branches.
1998-12-21 18:01:15 +00:00
joerg
749703c29e This is my first cut on a driver for the RealTek RTL 8002 pocket
ethernet driver.

The BUGS section is still impressive, but the driver seems to work for
me now.  Disclaimer: i haven't been able to test this under -current
so far (but it compiles, and the notebook it's intended for can now be
updated to -current more easy than before).  Don't be afraid of the
many #ifdefs on __FreeBSD_version in the imported file; i want them in
the repository on the vendor-branch so other people can also manually
integrate it into older systems.  I'll clean it up on the -current
branch in a followup commit.  The vendor-banch version right now
supports systems back to 2.2R.

This driver should be layered upon ppc(4), but i currently have no
idea how to do this.

Eventually i'll further develop the driver to also support the more
modern RTL 8012 success, which seems to be present in a number of
cheap pocket ethernet adapters these days.  Right now, i doubt it will
run with the 8012 without any changes.

Finally a big Thanks! to RealTek for promptly providing me with
documentation and with the source code for the 8012 pocket driver upon
request.  I wish all vendors were that cooperative!.
1998-12-21 18:01:15 +00:00
jkh
bd891ad121 Just fetch distfiles from a single location. The change to textproc/docproj
broke my fetch heuristic anyway.
1998-12-21 17:34:33 +00:00
dillon
61df67646d update HISTORY section 1998-12-21 10:34:53 +00:00
dillon
1967f937b7 Add manual page for experimental kernel asleep() and await() routines 1998-12-21 10:29:28 +00:00
msmith
61a91ed7ca Regrettably, you can't take setdef0.c out of order, or, surprise,
linker sets don't work and thus neither does the kernel.

This should stop being a problem with an improved linker set mechanism in
the pipeline (see the bootloader) but for now this has to stay like this.
1998-12-21 10:29:09 +00:00
kato
14f77a8cae Sync with sys/i386/conf/options.i386 revision 1.96. 1998-12-21 09:58:37 +00:00
kato
8dbdacacef Sync with sys/i386/conf/Makefile.i386 revision 1.131. 1998-12-21 09:57:42 +00:00