Commit Graph

54455 Commits

Author SHA1 Message Date
markm
d4e8f34689 Assembler fixes.
Fix opcodes that were typed as ".byte 0xNN, 0xMM" when an older
assembler could not recognise the newer Pentium instructions.
Reviewed by:	jhb
2000-11-21 20:16:49 +00:00
imp
6242ba6480 Fix buffer overflows in filenames. If you had a path > 80 characters
for your /usr/obj/path/to/my/files path to the kernel, then weird
things happened.  make buildkernel would fail because config was
dumping core or generating bad file names (depending on the lenght of
the path).

While I was here, also use strlcpy, strlcat and snprintf (or asprintf)
as necessary.  Minor format policing for the snprintf calls as well.
2000-11-21 19:58:55 +00:00
markm
f80852f2a1 Add a consistent API to a feature that most modern CPUs have; a fast
counter register in-CPU.

This is to be used as a fast "timer", where linearity is more important
than time, and multiple lines in the linearity caused by multiple CPUs
in an SMP machine is not a problem.

This adds no code whatsoever to the FreeBSD kernel until it is actually
used, and then as a single-instruction inline routine (except for the
80386 and 80486 where it is some more inline code around nanotime(9).

Reviewed by:	bde, kris, jhb
2000-11-21 19:55:21 +00:00
alc
fb2286bd70 Provide a new interface for the user of aio_read() and aio_write() to request
a kevent upon completion of the I/O.  Specifically, introduce a new type
of sigevent notification, SIGEV_EVENT.  If sigev_notify is SIGEV_EVENT,
then sigev_notify_kqueue names the kqueue that should receive the event
and sigev_value contains the "void *" is copied into the kevent's udata
field.

In contrast to the existing interface, this one: 1) works on
the Alpha 2) avoids the extra copyin() call for the kevent because all
of the information needed is in the sigevent and 3) could be
applied to request a single kevent upon completion of an entire lio_listio().

Reviewed by:	jlemon
2000-11-21 19:36:36 +00:00
jhb
4c7f5f07db Stop handcoding a couple of instructions since gas 2.10 can properly
assemble 16-bit code.

Noticed by:	markm
2000-11-21 18:36:10 +00:00
ru
4fc43f10d2 mdoc(7) police: Add a missing `.Sm on' request. 2000-11-21 18:18:46 +00:00
asmodai
9aa6b8817c Clarify the time parameter of the kevent() system call.
Inspired by PR:		21708
Submitted by:		Ronald F. Guilmette <rfg@monkeys.com>
Reviewed by:		jlemon
2000-11-21 15:22:36 +00:00
kuriyama
53d1011364 Reflect reality about number of developers.
Submitted by:	sheldonh
2000-11-21 14:31:10 +00:00
julian
b810dc4d60 Bump the buffersize from 0x1000 to 0x4000.
0x1000 gets underflows on my dell 7500 whenever I moved the mouse.
(reported as "hwptr went backwards...", with jumpy sound)
Sounds great now....
2000-11-21 12:22:11 +00:00
ben
05ec5d148f Remove text saying "this is available from the compatibility library,
libcompat" in favour of a .Sh LIBRARY section using the .Lb macro.  Also add
.Bf -symbolic around the text saying "this is obsolete" in re_comp.3.

PR:		22675
Submitted by:	Mike Meyer <mwm@mired.org>
Reviewed by:	sheldonh
2000-11-21 12:03:30 +00:00
ru
bbd70630b0 mdoc(7) police: fixed the section reference to the mdoc.samples(7). 2000-11-21 08:12:23 +00:00
sanpei
cff3ee5854 add Linksts EtherFast 10/100 PC Card (PCMPC100 V2)
Submitted by:	Ben Lutgens <blutgens@usinternet.com>
2000-11-21 07:01:24 +00:00
msmith
f2e442bc4f Don't test the return value from the actual command when determining
success/failure for submission of the command.  The caller will want
to deal with this itself.
2000-11-21 06:58:24 +00:00
dougb
6b9baeb4ed If a user is in the database, rmuser ought to be able to remove them.
Address this by using getpwnam(), thus killing several birds with
the same stone. My fix is slightly more aggressive than the
originators. :)

PR:		misc/22278
2000-11-21 05:52:35 +00:00
marcel
674917ed83 Fix release, broken by the perl cross-build fixes.
The distribute target is basicly the same as an install. For
perl, this means that miniperl is needed. Since miniperl is
only present in the object directory, we need to make sure
the path is set correctly. To do this, we have make release
use a new distribworld target that sets the path before doing
a make distribute.
2000-11-21 04:37:30 +00:00
dougb
ea237bffe8 Do a better job of preserving the value rc is called with
in the face of possible corruption by rc.diskless*.

PR:		misc/21904
Submitted by:	Anton Voronin, anton@urc.ac.ru
2000-11-21 04:21:54 +00:00
gallatin
1af628ad03 fix isa DMA on pyxis based machines:
- move the call to cia_init_sgmap() to after we've determined if we're a pyxis
- convert needed splhigh() in cia_sgmap_invalidate_pyxis() to disable_intr()

Previously, any isa DMA on a pyxis based machine would cause a panic
in cia_sgmap_invalidate_pyxis() because the pyxis workaround was never
setup.

- while i'm at it, convert needed splhigh() in cia_swiz_set_hae_mem to
disable_intr()
2000-11-21 03:25:31 +00:00
jkh
32c7841c33 Update source description to note that everything is now included.
Submitted by:	Chris Faulhaber <jedgar@fxp.org>
2000-11-21 02:22:31 +00:00
bmah
6a0e74e91d Note that CD-ROMs are ordered from "BSDi / Walnut Creek CDROM".
While I'm here, note that BSDi is in the USA and make the phone
number formats consistent.
2000-11-20 23:20:35 +00:00
phk
c390f64a51 Make programs which still #include <machine/{mouse,console}.h> fail
at compiletime, with an explanatory error message.  Previously they
would only get a warning.

These files will be finally removed 2001-01-15
2000-11-20 22:00:25 +00:00
rnordier
3f85fa0f29 Typo police. 2000-11-20 20:37:49 +00:00
rnordier
856f2045e5 Wrap over-long line; drop superfluous include. 2000-11-20 20:35:35 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
jkh
f93a7f9581 finish conditionalizing the PC98 specific options off the PC98
compilation variable.
2000-11-20 19:44:17 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ru
40f6a567bc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 18:41:33 +00:00
ru
f194671628 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 17:05:46 +00:00
ru
d16dd614f6 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
sheldonh
9d3fed2210 Fix hard sentence break introduced in rev 1.7. 2000-11-20 16:25:10 +00:00
sheldonh
ba561295ed Add a period missing from rev 1.13. 2000-11-20 16:19:37 +00:00
sheldonh
064d55c649 Remove blank line introduced in rev 1.13. 2000-11-20 16:18:45 +00:00
sheldonh
8b55254459 Document the libcompat entry for the .Lb macro.
Submitted by:	phantom
2000-11-20 16:14:08 +00:00
sheldonh
44dedf1ff8 Fix broken (sectionless) cross-reference in ref 1.10. 2000-11-20 16:09:47 +00:00
sheldonh
fd68544064 Fix bug in rev 1.7:
Use a paragraph marker (Pp) instead of a blank line.
2000-11-20 16:06:00 +00:00
sheldonh
ec0c58e9c4 Fix a bug that's survived since rev 1.1:
Don't mark the word "file" up as a pathname in "/etc/group file".  For
the sake of consistency with rev 1.18, use Nm instead of "Pa /etc/group"
and break "file" onto the next line.
2000-11-20 16:05:09 +00:00
sheldonh
1e36032bf9 Fix problems introduced in rev 1.16:
* Hard sentence break.

* Using Nm for the file in the first paragraph made the use of Pa in the
  second paragraph look silly.
2000-11-20 16:01:50 +00:00
sheldonh
b9519e8da6 Fix problems introduced in rev 1.18:
* Broken (sectionless) cross-reference to nsswitch.conf.
* Trailing whitespace.
2000-11-20 15:56:22 +00:00
sheldonh
3a3c0d7c05 Add libcompat record for .Lb macro. 2000-11-20 15:07:14 +00:00
ru
d13355bd1f mdoc(7) police: use the new features of the Nm macro. 2000-11-20 14:42:24 +00:00
ru
f5298cf219 mdoc(7) police: fixed warnings. 2000-11-20 14:22:41 +00:00
ru
b1d89023d8 mdoc(7) police: fixed warning. 2000-11-20 14:18:21 +00:00
ru
f74abe8881 mdoc(7) police: Nm -> Fn where appropriate. 2000-11-20 14:11:46 +00:00
ru
920dfa0863 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 14:08:07 +00:00
julian
c99f150e66 Duh. These have been sitting in my tree since I committed this stuff.
Thes are identical to what I committed except that they had the correct
copyright headers. This is what I was SUPPOSED to have checked in..
2000-11-20 13:43:40 +00:00
sheldonh
0758a1f9b6 Connect the new man4.alpha to the build. 2000-11-20 13:16:44 +00:00
deischen
16be8532ab Change a "while {}" loop to a "do {} while" to allow it to be
executed at least once, fixing pthread_mutex_lock() for recursive
mutex lock attempts.

Correctly set a threads signal mask while it is executing a signal
handler.  The mask should be the union of its current mask, the
signal being handled, and the mask from the signal action.

Reported by: Dan Nelson <dnelson@emsphone.com>

MFC Candidate
2000-11-20 13:12:44 +00:00
sheldonh
838cad9264 Document the osf1 module.
Submitted by:	gallatin
2000-11-20 12:59:08 +00:00
sheldonh
ca98ff5e38 Fix broken cross-reference to linprocfs(5). 2000-11-20 12:49:11 +00:00
ru
4200ea7728 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:18:54 +00:00
ru
617d4b1428 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:06:19 +00:00