Commit Graph

86963 Commits

Author SHA1 Message Date
lukem
80ac606906 ffs_sb_swap() fixes:
- calculate the offset and length of the postbl before byteswapping.
  problem noted by der Mouse.
- use offsetof() to determine # of fields to calculate in initial
  loop, rather than hard-coding in `52 fields'
- improve comments.
2001-10-29 11:26:35 +00:00
lukem
ae963680ea cast time_t values to long if printing as %ld to appease the sparc64 port 2001-10-29 07:30:07 +00:00
simonb
5f717f7c33 Don't need to include <uvm/uvm_extern.h> just to include <sys/sysctl.h>
anymore.
2001-10-29 07:02:30 +00:00
lukem
d1270f6de8 - apply_specdir(): when adding a new symlink from the specfile, do the assert
check on the correct node
- apply_specentry(): if this node is a duplicate of another, apply the
  changes to the `master' entry instead of this one.
- fix inotype() to DTRT
- comment out some debugging info that is too verbose
2001-10-29 05:38:09 +00:00
itojun
7b1918bdc8 always check extension header length. 2001-10-29 05:23:17 +00:00
lukem
751eb87e65 typographical cleanups 2001-10-29 05:18:25 +00:00
thorpej
b5ae57acc0 Fix a typo, add some UL suffixes to memory map constants. 2001-10-29 04:48:21 +00:00
lukem
01381cc6c0 change metadata_log() to support logging symlink info as well
(including target name).  pointed out by perry.
2001-10-29 02:57:21 +00:00
simonb
163e969b09 Include bit definitions for the Debug Status Register; from Artem Belevich
at Riverstone Networks.
2001-10-29 02:02:19 +00:00
simonb
545af90346 Don't return at the end of a void function. 2001-10-29 02:00:01 +00:00
simonb
f7144c4462 G/C unused enable_intr and disable_intr functions. Fix a whitespace nit. 2001-10-29 01:57:49 +00:00
simonb
46cb54843c Whitespace nit. 2001-10-29 01:53:59 +00:00
mason
49f1d29d43 note build.sh 2001-10-29 01:53:56 +00:00
simonb
5f47f77815 Use wrteei to enable interrupts.
From Artem Belevich at Riverstone Networks.
2001-10-29 01:52:09 +00:00
perry
46fb31fab6 1) Note that install has been fixed and will need to be upated for
src/etc/Makefile to work properly.
2) Note that users of the new toolchain are often able to avoid the
   UPDATING hell.
2001-10-29 01:46:25 +00:00
simonb
6596d92841 Use the Walnut FPGA register offsets instead if the i8042 offsets for
the keyboard/mouse command and data ports (whee! they probe now), and
set up keyboard & mouse interrupts (untested for now).
2001-10-29 01:42:11 +00:00
simonb
90a347de11 If a pckbc is configured in, configure the FPGA so that separate
interrupts are used for the keyboard and mouse, interrupts are high
and level triggered (and enabled).
2001-10-29 01:37:29 +00:00
simonb
cc4d8c1285 Set up irq16 (FPGA interrupt) and irq17 (SMI interrupt) for the keyboard
and mouse.
2001-10-29 01:32:59 +00:00
simonb
ad762e99bf Expose (and augment) the FPGA registers, and add the static RAM address
and size.
2001-10-29 01:31:11 +00:00
perry
6ca8767be9 Now that it will actually work, replace instances of ln with install. 2001-10-29 01:19:19 +00:00
augustss
246b858752 Inject events in the right place in the buffer. 2001-10-29 01:02:11 +00:00
perry
0f1e6ffaee Do not attempt to stat the source if we are dealing with a link. We
aren't going to do anything with the information anyway and there is
error checking later anyway.
We can now succeed in creating symlinks to locations that don't exist,
just as ln -s will let us do, and we can use install instead of ln -s
in several Makefiles. The code was written with the obvious intent to
let you do this but apparently it was never tested.
2001-10-29 00:25:44 +00:00
perry
1ceecb558f 1) Remove a comment that bore no resemblance to reality. It was worse
than having no comment at all by far.
2) fix an instance in which we checked if "from" wasn't a regular file
   and then bitched about "to".
2001-10-28 23:43:19 +00:00
cgd
f3bd0cf158 add WRT (with respect to) 2001-10-28 22:39:30 +00:00
cgd
9116fff03a fix BTTH (_boot_ to the head) 2001-10-28 22:38:01 +00:00
jdolecek
24ba90929c Avoid using microtime(9) for atime/mtime, we don't need to have it
THAT accurate and microtime(9) is painlessly slow on i386 currently.
This speeds up small transfers much. The gain for large transfers
is less significant, but notable too.
Bottleneck was found by Andreas Persson (Re: kern/14246).

Performance improvement with PIII on 661 Mhz according to hbench (with
PIPE_MINDIRECT=8192):

buffersize     before    after
512            17        49
1024           33        110
2048           52        143
4096           77        163
8192           142       190
64K            577       662
128K           372       392
2001-10-28 20:47:15 +00:00
jdolecek
47ea6cbd85 Use hardcoded 8192 for PIPE_MINDIRECT, rather than being dependant
on PAGE_SIZE. The overhead of setting up Page Loan is pretty much constant
irregardless of page size, so it makes more sense to use fixed constant.

According to hbench, the overhead of Page Loan setup is still significantly
bigger than the performance gain for 4096 byte buffers on i386
(PIII/600Mhz). The difference is smaller on 386DX, but Page Loan is
still not faster for this case.

Also, there is some other code out there which expects 4KB writes
to not block even for 'blocking' write, since it works this
way on some other operating systems.
Partially addresses kern/14246 by Andreas Persson.
2001-10-28 20:27:55 +00:00
wiz
a58e0c8a53 Undo indentation glitch in previous. 2001-10-28 19:52:53 +00:00
proff
20d62e03c5 improve random number seeding 2001-10-28 19:47:48 +00:00
wiz
ee03b26cd0 Whitespace nits, sort sections, fix Dv usage (doesn't like macro argument). 2001-10-28 19:03:12 +00:00
wiz
b45940a186 Sort SEE ALSO, sort sections, other minor cleanups. 2001-10-28 18:47:03 +00:00
augustss
46679564db Add a DIAGNOSTIC test. 2001-10-28 17:16:58 +00:00
manu
6d572de955 Added character devices #60 and #61 to chrtoblktbl[]. They were missing,
and it introduced problems (EBUSY error when opening the driver for
writing in securelevel >= 1, plus manipulating some unitialized data at
the end of chrtoblktbl[])
2001-10-28 17:11:56 +00:00
augustss
3deca4b069 Use the usb callout macros. 2001-10-28 16:53:21 +00:00
jdolecek
4a5ea306b8 s/Soundblaster/SoundBlaster/. Addresses kern/14321 by Gergely EGERVARY 2001-10-28 16:28:39 +00:00
jdolecek
a1a864c05e add missing dot to copyright message 2001-10-28 16:23:56 +00:00
jdolecek
86f5984fd6 Add "Pentium III (Tualatin)" entry to CPUVENDOR_INTEL/CPUCLASS_686.
Make sure the CPUCLASS_686 entry has really 17 (i.e. 16 + default)
name entries as it's supposed to, so that code won't crash when
run on Intel CPUCLASS_686 processor which doesn't have name entry
in the table.

Reported and fix provided by Naoto Morishima in kern/14380.
2001-10-28 16:17:05 +00:00
mrg
d59ba42415 disable gdb on alpha host. XXX FIXME 2001-10-28 13:53:37 +00:00
lukem
cafb53fc3d add __RCSID() 2001-10-28 13:14:05 +00:00
lukem
1450efa805 a possible feature... 2001-10-28 13:12:50 +00:00
lukem
9ee82d317a s/u_longlong_t/unsigned long long/ to shut up the parc port 2001-10-28 13:06:43 +00:00
bjh21
6a56d71ffa Handle machines using VFP-format doubles (as we do in ARM ELF) and big-endian
systems correctly.
2001-10-28 12:40:56 +00:00
yamt
9de0432262 remove #if define(lint).
we don't need it anymore since lint has been fixed.
2001-10-28 12:08:43 +00:00
simonb
d2544ca8eb Add a not-a-number test, based on Ben Harris's infinity test.
Disabled on vax.
2001-10-28 10:41:56 +00:00
augustss
87746219bd Put in some tests to see if the input source is NULL before using it.
Suggested by Havard Eidnes <he@netbsd.org>.
2001-10-28 10:30:22 +00:00
martin
d1f0e4f6e4 Don't call if_alloc_sadl when creating the pppoe interface, it's called
from sppp_attach.
When destroying the interface, call sppp_detach for proper cleanup.
This avoids a crash from the slow timeout handler for no longer existing
interfaces (spotted by Rémi Zara).
2001-10-28 09:48:20 +00:00
isaki
12707fe416 fix typo s/X86K/X68K/ in comment. 2001-10-28 07:05:51 +00:00
yamt
9ab12a24fa our wchar_t is int, not short. 2001-10-28 05:24:37 +00:00
kleink
98a839573a Partially back out previous: don't apply restrict qualifier to pointer
to function.
2001-10-28 05:12:31 +00:00
christos
2a64b3cc60 use the copy of path stashed in pack->ep_emul_arg and free it.
also don't allocate the emul path, because it is causing a memory leak.
2001-10-28 04:47:27 +00:00