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
christos
f7cb99f9c6
make a copy of the epp->ep_path, because it is too late to use it when
...
copyargs is called since we've swapped vmspaces.
2001-10-28 04:46:42 +00:00
jmc
83fb4943af
already gets checked and prints out an error if it's used without
...
being set. You want to use it if USE_NEW_TOOLCHAIN is set and you're in
the source tree by default.
2001-10-28 02:03:00 +00:00
christos
19c695e204
fix assembler warnings
2001-10-28 01:38:52 +00:00
christos
ffea4be4c7
- KNF
...
- use syslog after we become a daemon to write error messages.
- failure to open a device is not fatal.
- copy timeval, because select is allowed to change it.
- if we failed to blank all the devices we are monitoring, exit
2001-10-28 01:32:46 +00:00
chs
3116cf32a9
if TOOLDIR is not defined, USETOOLS should default to "no",
...
since defaulting to "yes" will just give an error every time.
2001-10-28 00:52:41 +00:00
bjh21
2f77d1a624
Quick test to make sure that __infinity is properly infinite. It isn't on
...
ARM ELF systems at the moment.
2001-10-27 23:36:32 +00:00
chs
5855efa8d8
add a warning about the sun3 firmware not being able to access
...
more than 1 GB of the disk.
2001-10-27 22:38:09 +00:00
he
90d849dc54
Pull down revision 1.24.4.1 from the netbsd-1-5 branch:
...
Make sure that an unlabeled device gets at least RAW_PART
in the default in-core disklabel, instead of only a single
partition, so that applying a new disklabel can work normally.
2001-10-27 18:32:35 +00:00
jdolecek
1d592578e5
make compile with VM86 defined
2001-10-27 18:27:06 +00:00
darrenr
b6e4899865
fix so it compiles on a system without 'options SUN4M'
2001-10-27 17:44:18 +00:00
rearnsha
839525d027
When creating section maps, use pte_cache_mode for setting the
...
page attributes of cacheable pages.
2001-10-27 16:51:44 +00:00
rearnsha
b044d8f60c
Add a couple more diagnostics.
2001-10-27 16:48:50 +00:00
rearnsha
e185c586c3
Export pte_cache_mode. Define PT_CACHEABLE in terms of it.
2001-10-27 16:45:35 +00:00
rearnsha
3fd2995a76
Declare the plcom device.
2001-10-27 16:42:37 +00:00
rearnsha
9a322ae54f
Set initial spl level to SPL_SERIAL, which for some strange reason
...
is higher than SPL_HIGH (maybe we should be fixing SPL_HIGH).
If IPL_STATCLOCK is defined, initialize spl_masks[_SPL_STATCLOCK] from
it; otherwise initialize use IPL_CLOCK.
2001-10-27 16:41:00 +00:00
rearnsha
85123cf6bf
Add new spl level -- _SPL_STATCLOCK.
2001-10-27 16:37:24 +00:00
rearnsha
8a92dcdaa8
Pull in machine/conf.h to find out if we have the plcom serial driver.
...
If so, then call plcomsoft when appropriate.
2001-10-27 16:34:12 +00:00
rearnsha
4487810503
Add the IFPGA console device.
2001-10-27 16:29:23 +00:00
rearnsha
4aeabfe53e
Build tags files for the evbarm subtree.
2001-10-27 16:23:05 +00:00
rearnsha
19cf921b2c
Support for the PrimeCell PL010 UART. Similar in behaviour to
...
the normal com driver, but with competely different bit and register
assignments.
2001-10-27 16:22:06 +00:00
rearnsha
27bfd8adf2
Register definitions for the v360 PCI-localbus bridge, as used
...
on the Integrator/AP.
2001-10-27 16:20:29 +00:00
rearnsha
00a19aff1d
Support for the Integrator/AP core-logic FPGA.
2001-10-27 16:19:08 +00:00
rearnsha
65f54d13cc
Basic support for the Integrator/AP board.
2001-10-27 16:17:51 +00:00
rearnsha
e882c399b9
Add SCSI PCI and support for the integrator console.
2001-10-27 16:15:50 +00:00
rearnsha
b7203fd4cb
Configuration for Integrator boards.
2001-10-27 16:14:44 +00:00
rearnsha
682379120f
Integrator boards need a special start-up file to reposition the
...
kernel image.
2001-10-27 16:14:04 +00:00