mrg
a68e13f815
implement generic soft interrupts as described in softintr(9). convert
...
the network, clock & serial softint's to use them.
2001-09-27 02:05:42 +00:00
shin
541214b72d
clock_machdep.h was removed.
2001-09-27 01:08:22 +00:00
thorpej
a7eb08e847
"cms" is not needs-flag
2001-09-26 21:49:09 +00:00
thorpej
55d06660bb
"aria" does not needs-flag
2001-09-26 21:40:07 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
matthias
da7395fac9
wskbd_rawinput: check sc->sc_displaydv before calling wsdisplay_kbdinput.
2001-09-26 15:13:23 +00:00
eeh
64d9292e8c
*NEVER* cast a reference parameter to a different type.
2001-09-26 15:05:49 +00:00
fvdl
0596817942
Apparently the old gas doesn't like *(%reg), so revert this one for now,
...
until everyone's switched to the new toolchain.
2001-09-26 14:07:51 +00:00
fvdl
7b78937c2b
More '*' usage in indirect calls/jumps.
2001-09-26 09:58:39 +00:00
chris
b08ac48955
Move the call to the xi_pcmcia_identify to before the first use of sc->sc_flags.
...
Doesn't fix my problem with auto negotiate, but it might help others.
2001-09-26 09:01:30 +00:00
itojun
6374da40e1
don't softintr_disestablish twice.
...
previous code panic'ed with the following command sequence:
# ifconfig gif0 create tunnel A B
# ifconfig gif0 deletetunnel
# ifconfig gif0 destroy
2001-09-26 07:54:19 +00:00
chs
365f4c4313
change the names of the arguments to uvn_put() to match their usage.
2001-09-26 07:23:51 +00:00
chs
a76b67cf09
jump through hoops to avoid calling uvm_km_free_poolpage() while holding
...
spinlocks, since that function can sleep. (note that there's still one
instance remaining to be fixed.) use TAILQ_FOREACH where appropriate.
2001-09-26 07:14:56 +00:00
chs
e37c6bf037
move call to pool_drain() outside the pageq lock.
2001-09-26 07:08:41 +00:00
chs
d288111138
undo the part of the previous revision about skipping
...
the put if there are no pages, that seems to cause some problem.
fix another problem with missing an splx(), spotted by enami.
2001-09-26 06:20:50 +00:00
chs
e8be8c6351
be sure to call the pager put with page-aligned offsets.
...
spotted by Nathan Williams.
while I'm here, move an splbio() so that we don't return without
splx()ing it if there's an error, and don't bother calling the
pager put if the vnode has no pages.
2001-09-26 05:25:03 +00:00
oster
d7a81df519
RF_DEV2RAIDID isn't used anywhere anymore. Bye bye.
2001-09-26 03:01:19 +00:00
oster
de43684ab7
- rf_types.h doesn't really need to pull in rf_archs.h
...
- for *.c, don't rely on rf_types.h to pull in rf_archs.h
2001-09-26 02:52:57 +00:00
thorpej
1eb0dacf81
IRQUNK -> ISACF_IRQ_DEFAULT
2001-09-26 01:30:58 +00:00
thorpej
0cf4cbfa39
Use ISACF_*_DEFAULT rather than *UNK.
2001-09-26 01:17:16 +00:00
enami
b0df86c9e6
In the function getnewvnode:
...
- Mark file system busy again on retry.
- Don't use the variable `listhd' uninitialized.
2001-09-26 00:59:57 +00:00
jdolecek
de311f11c3
Match the Diamon Rio800. Reported working by Chris Lloyd in kern/14064.
2001-09-25 21:08:44 +00:00
is
9a02c51726
Security check - don't paste new command line into bootblock that
...
don't look like the new style bootblock (with enough space in it).
2001-09-25 19:07:00 +00:00
jdolecek
25bef3c837
Take care to transfer whole buffer passed via write(2); write(2) should
...
not do short writes unless when using non-blocking I/O.
This fixes kern/13744 by Geoff C. Wing.
Note this partially undoes rev. 1.5 change. Upon closer examination,
it's been apparent that hbench-OS expectations were not actually justified.
2001-09-25 19:01:21 +00:00
is
e9023155ad
Replace skript by a C program, that knows how to manipulate the default
...
command line in the bootblock and to recompute the bootblock checksum.
2001-09-25 18:47:55 +00:00
chs
039c1fd312
print a stack trace in more LOCKDEBUG cases.
...
add a blank line between complaints.
use TAILQ_FOREACH where appropriate.
2001-09-25 06:13:29 +00:00
oster
e475673b85
Nuke an unused typedef.
2001-09-25 02:56:13 +00:00
chs
e7d9abce3e
in ltsleep(), assert that the interlock is held (if one is given).
2001-09-25 01:38:38 +00:00
onoe
b7c46d6199
use ALIGNED_POINTER() instead of ALIGN().
...
The type of ALIGN() is vary on architecture and casting pointer to u_int
is incorrect for MI code.
Since the code is to make sure aligned access to IP header and requires
bcopy if the test fails. So the performance implication is not necessary
and we can use ALIGNED_POINTER() here.
pointed out by nathanw.
2001-09-25 01:07:53 +00:00
eeh
e3f674b10c
Change a printf to DEBUG only.
2001-09-25 00:06:55 +00:00
eeh
766a9b8c9c
Change bus_space_mmap() signature to the official one.
2001-09-24 23:49:31 +00:00
reinoud
78b6ed208e
Change the caddr_t to uintptr_t and remove the cast ... it gave problems
...
compiling on an LP64 ... discussed with Gimpy, atatat and bleeh
2001-09-24 21:47:57 +00:00
is
36fb85f059
Put default command line into a fixed location with a known size.
...
This is intended to allow patching of the command line without a
compiler.
2001-09-24 20:27:08 +00:00
bouyer
92aaf348cf
Ali M5229 IDE controllers: tweak the rigth 0x79 register (the one from the
...
pci/isa bridge, not the one from the IDE controller).
2001-09-24 20:03:47 +00:00
rearnsha
a5480e24b4
Hmm, on a.out platforms we have
...
size_t == unsigned int
on elf platforms we have
size_t == unsigned long int
So use %ld when printing and cast md->md_size to long.
2001-09-24 17:00:52 +00:00
takemura
ca59965026
Renamed platid_search() to platid_search_data() and added new platid_search().
...
Platid_name() was re-implemented using platid_search().
2001-09-24 14:29:30 +00:00
itohy
0f210a885d
Add simple boundary check on CIS parsing.
...
I have a weird PC-card-style appliance (I'm not sure I may call it a PC card)
whose ``CIS'' reads zeros forever, which caused kernel panic.
For your interest, it is a cooling fan to be inserted to a PC card slot.
2001-09-24 14:19:10 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
jdc
b6426dff1e
Fix typo in !COMPAT_13 case.
2001-09-24 13:19:54 +00:00
takemura
ce2f39b63a
Hacking code piece, dumping PCI configration register.
2001-09-24 10:42:02 +00:00
leo
1c35b74032
Enable ELF symbols in ddb.
2001-09-24 09:21:24 +00:00
leo
c0233c6e50
Add missing argument to pmap_update().
2001-09-24 09:17:19 +00:00
chs
7bb91a0959
resize the namecache hash table also when desiredvnodes changes.
2001-09-24 06:01:13 +00:00
chs
7173d0a3e8
use pmap_kenter_pa() instead of pmap_enter() in a few places.
2001-09-24 05:37:50 +00:00
eeh
1e7d8c3a11
Print out device details.
2001-09-24 04:39:40 +00:00
mhitch
a52fa14deb
Run vfs_shutdown() if NOSYNC is *not* set, rather than set.
2001-09-24 03:56:03 +00:00
chs
3628675acf
implement pmap_wired_count().
2001-09-24 01:48:15 +00:00
chs
fd3414abea
fix typo in previous.
2001-09-24 01:29:06 +00:00
sommerfeld
98b0d5654c
replace %ecx with %cl to silence new assembler warnings.
2001-09-24 01:09:33 +00:00
sommerfeld
b27c418d40
Deal with invokers who pass us environment variable settings as part
...
of the command they want us to run.
Fixes part 3A of PR#14046
2001-09-24 00:20:11 +00:00