Commit Graph

86949 Commits

Author SHA1 Message Date
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
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