luoqi
d53d7e4461
Fix an uninitialized variable in the `dangerously dedicated disk' case.
1998-10-30 07:15:52 +00:00
msmith
e79dcdb69f
Add the ability to specify where on the at_shutdown queue a handler is
...
installed.
Remove cpu_power_down, and replace it with an entry at the end of the
SHUTDOWN_FINAL queue in the only place it's used (APM).
Submitted by: Some ideas from Bruce Walter <walter@fortean.com>
1998-10-30 05:41:15 +00:00
gibbs
0fcabcf90e
Do not disable the ISA compatibility window if it is the same value as
...
that set for our PCI IO address space. This can happen on the BT-946.
1998-10-30 02:06:44 +00:00
jkh
02085b8fcd
Put back MFS_ROOT now that it's been fixed correctly.
1998-10-30 01:37:33 +00:00
jkh
af8d56d484
Fix this correctly - check if mfs_getimage() succeeds before settings
...
the MFS root unconditionally, just as on the x86.
Prompted by: msmith
1998-10-30 01:36:40 +00:00
jkh
573dce4383
Take MFS_ROOT out for now; for some reason, the alpha GENERIC chokes
...
and dies if it can't find the MFS root whereas the x86 one seems to sail
past. Looking at the code, I can't see how either one works, so I'm
confused. :)
1998-10-30 01:17:42 +00:00
msmith
b7cb0214c9
Make the BTX loader much more quiet about what it's doing. This removes
...
most of the "what the (*^&%(*^ was that?" stuff that normally flies by.
1998-10-30 00:11:35 +00:00
jdp
dea39ed229
Per request from ache, change the numbering scheme of __FreeBSD_cc_version.
...
Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.
1998-10-29 22:11:08 +00:00
gibbs
25b0d92fe5
Correct the reporting of the queue full condition so that the XPT layer
...
can properly throttle tags.
Add diagnostic printfs for firmware result codes that we encounter but
don't know anything about.
1998-10-29 17:41:34 +00:00
dima
0ae4c4c0e7
Bump VERSREQ to make ``config'' happy.
...
Obtained from: Makefile.i386
1998-10-29 17:09:36 +00:00
bde
9a84781068
Oops, rev.1.167 made the device number checking in bdevvp() too strict
...
for mfs root mounts. Don't require major 255 to be in bdevsw[].
1998-10-29 11:50:32 +00:00
dg
dce7995d53
Fixed editing error. Pointed out by bde.
1998-10-29 11:04:22 +00:00
peter
fe9b0651f9
Remove the V_SAVEMETA flag, nothing uses it any more now that msdosfs and
...
ext2fs call vtruncbuf() directly. This simplifies and cleans up
vinvalbuf() a little.
1998-10-29 09:51:28 +00:00
peter
0c010ce2d1
error return assignment was less than ideal. Fix the part that caused
...
warnings to be the same as the ffs code. Previously, any error from
the UFS_UPDATE() call was lost (I think).
1998-10-29 09:44:12 +00:00
peter
c002ba1c81
Use vtruncbuf() to clean out cached blocks on a file shorten rather than
...
the more expensive vinvalbuf(), based on the FFS version of the same
routine. I don't have any ext2fs filesystems to test this on.
1998-10-29 09:30:52 +00:00
peter
fd7d7fb526
Use vtruncbuf() rather than vinvalbuf() when shortening files.
1998-10-29 09:29:17 +00:00
jdp
e7e02b314f
Make the definition of __printf0like() vary according to the value
...
of __FreeBSD_cc_version, so that its use is safe with older compilers
and with non-FreeBSD compilers.
1998-10-29 04:41:24 +00:00
wollman
b9784762c1
A small fragment of new ISA framework: manifest constants for the resources
...
implemented by the i386 root nexus.
1998-10-29 01:56:23 +00:00
wollman
c1bc5967b6
A Perl5 version of makedevops.sh. Fixes a bug in the sh/awk version
...
which really annoyed me at the time but I don't think bites me any
more.
1998-10-29 01:52:59 +00:00
wollman
884da79e48
The new resource manager, hopefully in a reasonably stable form.
1998-10-29 01:48:36 +00:00
rvb
dc7a9e560a
Change the way unmounting happens to guarantee that the
...
client programs are allowed to finish up (coda_call is
forced to complete) and release their locks. Thus there
is a reasonable chance that the vflush implicit in the
unmount will not get hung on held locks.
1998-10-28 20:31:13 +00:00
rvb
ff30297a7a
Update
1998-10-28 19:39:12 +00:00
rvb
f3f6c9f429
Venus must be passed O_CREAT flag on VOP_OPEN iff this is
...
a creat so that we can will allow a mode 444 file to be
written into. Sync with the latest coda.h and deal with
collateral damage.
1998-10-28 19:33:50 +00:00
msmith
45c6ebc96d
Simplify the "is a character ready" test, so that we don't return a false
...
negative for keypresses with zero ascii values. This is in line with the
comconsole test, rather than being more ambitious.
Submitted by: rnordier
1998-10-28 19:24:15 +00:00
dg
304c46fa2c
Fixed wrong comments in and about vm_page_deactivate().
1998-10-28 13:41:43 +00:00
dg
20b2c33d9a
Added a second argument, "activate" to the vm_page_unwire() call so that
...
the caller can select either inactive or active queue to put the page on.
1998-10-28 13:37:02 +00:00
kato
f09370e8b5
Sync with sys/i386/conf/Makefile.i386 revision 1.127.
1998-10-28 10:48:37 +00:00
jkh
d68de0ddb3
Clarify a rather ambiguous debugging message.
1998-10-28 10:37:54 +00:00
dfr
49507bba0e
Add BUS_DEBUG option in opt_bus.h
1998-10-28 08:37:10 +00:00
rnordier
25598ad6e0
Avoid interruptions while talking to keyboard controller.
1998-10-27 20:19:24 +00:00
rnordier
b845950ce7
biosboot compatibility fix: change behavior of backspace in getstr().
...
Noticed by: abial
Optimize away a few bytes to make space for the above.
1998-10-27 20:16:36 +00:00
dg
7850189506
Added needed splvm() protection around object page traversal in
...
vm_object_terminate().
1998-10-27 13:22:51 +00:00
bde
bd7a76a938
Oops, the redundant tests for major numbers weren't redundant here.
...
They checked for the magic major number for the "device" behind mfs
mount points. Use a more obvious check for this device.
Debugged by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-10-27 11:47:08 +00:00
dfr
779bdcf310
Lots of debugging code and some bugfixes.
...
Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-10-27 09:21:43 +00:00
dfr
4131cb7a36
Some optimisations to the fragment reassembly code.
...
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-27 09:19:03 +00:00
dfr
a5bf24db74
Fix a bug in the new fragment reassembly code which was tickled by recieving
...
a fragment which wholly overlapped one or more existing fragments.
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-27 09:11:41 +00:00
bde
873d7be484
Removed redundant bitrotted checks for major numbers instead of updating
...
them.
1998-10-26 08:53:13 +00:00
bde
285a46e7e4
Updated the major number check in vfs_object_create(). It's not
...
clear if the check is necessary, but vfs_object_create() is called
for all vnodes and it was silly to create objects for VBLK vnodes
that don't even have a driver.
1998-10-26 08:07:00 +00:00
bde
84009a0905
Check the major number of the boot device more carefully. There was only
...
a problem if the boot blocks passed bad data.
Check the major number of the dump device consistently.
1998-10-26 07:05:34 +00:00
bde
1fcef92d07
Fixed breakage of the GPROF case of statclock() in the previous commit.
1998-10-26 06:13:18 +00:00
bde
2fee4bebdc
Oops, back out some local changes that shouldn't have been in the
...
previous commit.
1998-10-25 20:11:36 +00:00
bde
1dabb16c3c
Fixed breakage of the !SMP case of roundrobin() in the previous commit.
1998-10-25 19:57:23 +00:00
bde
558766fa94
Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
...
when bdevsw[] became sparse. We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.
1998-10-25 19:26:18 +00:00
bde
9fafc47653
Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
...
when bdevsw[] became sparse. We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.
Removed a redundant `major(dev) < nblkdev' test instead of updating it.
Don't follow a garbage bdevsw pointer for attempts to swap on empty
regular files. This case currently can't happen. Swapping on regular
files is ifdefed out in swapon() and isn't attempted for empty files
in nfs_mountroot().
1998-10-25 19:24:04 +00:00
bde
5a7ea1209a
Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
...
when bdevsw[] became sparse. We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.
Removed redundant `major(dev) < nblkdev' tests instead of updating them.
1998-10-25 19:02:48 +00:00
phk
13c66194f4
Nitpicking and dusting performed on a train. Removes trivial warnings
...
about unused variables, labels and other lint.
1998-10-25 17:44:59 +00:00
bde
b17bde009a
Fixed device number checking in bdevvp():
...
- dev != NODEV was checked for, but 0 was returned on failure. This was
fixed in Lite2 (except the return code was still slightly wrong (ENODEV
instead of ENXIO)) but the changes were not merged. This case probably
doesn't actually occur under FreeBSD.
- major(dev) was not checked to have a valid non-NULL bdevsw entry. This
caused panics when the driver for the root device didn't exist.
Fixed minor misformattings in bdevvp(). Rev.1.14 consisted mainly of
gratuitous reformattings that seem to have caused many Lite2 merge
errors.
PR: 8417
1998-10-25 16:11:49 +00:00
bde
cccbefc35f
Fixed sysctl attachment for statically configured vfs's.
...
Broken in: previous commit
1998-10-25 10:52:34 +00:00
phk
d38224a611
Add some missing dependencies.
...
Grumbled about in principle: bde
1998-10-25 07:23:32 +00:00
paul
138aad3569
Fix the interrupt mask generated for enabling/disabling interrupts 8 to 15.
1998-10-25 01:30:16 +00:00