Commit Graph

187646 Commits

Author SHA1 Message Date
phx
0d233c805b Fixed for amigappc by executing eieio after writing to a vga register. 2010-01-31 19:56:19 +00:00
jruoho
d9203cb513 Add a detachment routine. 2010-01-31 19:49:29 +00:00
jruoho
166db9da2a Also remove the ACPI notify handler upon detach. 2010-01-31 18:51:33 +00:00
dyoung
bcfb222fd8 Add the missing newline to a verbose autoconf message. 2010-01-31 18:12:51 +00:00
jruoho
2554187b97 Add a detachment routine. While here, clarify the initialization of sensors. 2010-01-31 17:53:31 +00:00
uebayasi
40b4d371a5 Ax uvm_fault_internal() & break it into functions. "Upper" fault and "lower"
fault routines are separated now.
2010-01-31 17:13:38 +00:00
mlelstv
0aef69272b Skip handling of APPLEUFS_LABEL if it is smaller than a device block.
In particular:

- newfs will not try to erase the label
- fsck_ffs will not try to validate the label

This lets newfs and fsck work on 2048-byte-per-sector media.

Does Apple UFS support such media and how?
2010-01-31 16:04:34 +00:00
mlelstv
d2fd323d98 Properly register blocksize with disk(9) framework. 2010-01-31 15:40:08 +00:00
pooka
6c9f003a76 Include newly-created subr_device.c and remove few special case
device accessor copypastes.  This makes it possible to link static
binaries which use -lrumpdev.
2010-01-31 15:12:42 +00:00
pooka
0f9bb09e12 Device accessors are only marginally related to autoconf, so put them
into subr_device.c instead of having them in subr_autoconf.c.

Since none of the copyrights in subr_autoconf.c really match the
history of device accessors, I took the liberty of slapping (c)
2006 TNF onto subr_device.c.
2010-01-31 15:10:11 +00:00
wiz
a62f6ec261 Use full month name in Dd. 2010-01-31 15:05:49 +00:00
wiz
5a94f1ec05 Bump date for new debug section.
New sentence, new line.
Remove Pp after section begin.
2010-01-31 15:05:20 +00:00
hubertf
827a5e73da Fix two typos to make documentation match the code:
* the CIOCFKEY ioctl is really called CIOCKEY
 * CRK_MOD_EX => CRK_MOD_EXP

Bump date.
2010-01-31 14:43:04 +00:00
hubertf
0579eb13de Add missing "break" for CRYPTO_CAST_CBC, and some assorted comment fixes.
openssl(1) checks for CAST (and others) on ~every startup.
2010-01-31 14:32:56 +00:00
mlelstv
10019347da filesystems now use getdisksize() which is in librumpdev_disk. 2010-01-31 14:30:22 +00:00
pooka
1fe7a9e1bb If RUMP_BLKSECTSHIFT is set in the environment, use that as
device sector size instead of DEV_BSHIFT.
2010-01-31 13:15:08 +00:00
jruoho
084261a156 Remove ACPICA_PEDANTIC. 2010-01-31 12:20:22 +00:00
jruoho
a11a4a9023 Remove ACPICA_PEDANTIC. Appears to be no longer in use. 2010-01-31 12:14:45 +00:00
jruoho
9703b2e495 Miscellaneous small changes:
* Use -compact to make the page a little shorter.
        * Capitalize the title in the sysctl-section.
        * Use .Ic for the sysctl variables.
        * Remove ACPICA_PEDANTIC; no such option any more.
2010-01-31 12:07:37 +00:00
skrll
e975ed8767 1 CTASSERT(foo) is enough for anyone. 2010-01-31 11:54:32 +00:00
mlelstv
9c35c3d3a7 Release buffer in case a receive failed. 2010-01-31 11:39:55 +00:00
jruoho
993abc958b Add a short introduction to ACPI debugging. 2010-01-31 11:29:31 +00:00
jruoho
4cd0ccf8ab Add dynamic debug options for ACPI_DEBUG kernels.
ok jmcneill@, pooka@, pgoyette@
2010-01-31 11:26:20 +00:00
jruoho
532fa6e528 No more ACPI_ACAD_DEBUG. 2010-01-31 11:19:40 +00:00
jruoho
d9ca089d6e Simplify and clean:
* Semantics.
        * Remove ACPI_ACAD_DEBUG.
        * Reduce the amount of error reporting.
        * Remove the internal bookkeeping flags and variables;
          instead operate only with a single state variable.
        * Trust that the notify handler is doing its job;
          remove the refresh routine from the sensor.
        * Queue a status check upon resume; we want to know
          if the status has changed when in suspend (and it
          is unclear if a notify is sent to us).
2010-01-31 11:16:18 +00:00
mlelstv
748a0d77b1 Fix block shift to work with different device block sizes.
Unlike other filesystems this has some side issues because
the shift values are stored in the superblock and because
userland utitlies share the same fsbtodb macros.

-> the kernel now ignores the value stored in the superblock.
-> the macro adaption is only done for defined(_KERNEL) code.
2010-01-31 10:54:10 +00:00
mlelstv
5e340cd634 Replace individual queries for partition information with
new helper function.
2010-01-31 10:50:23 +00:00
mlelstv
928ded5f56 Fix block shift to work with different device block sizes. 2010-01-31 10:37:57 +00:00
mlelstv
ba0d32752c Replace individual queries for partition information with
new helper function.
2010-01-31 10:30:40 +00:00
martin
476c17bc5a This is using device_t, so it needs to include <sys/device.h>. 2010-01-31 09:27:40 +00:00
uebayasi
2359fa84f6 uvm_fault_internal:
Move local variables around to isolate contexts.  Note that remaining variables
are global in that function, and some hold state across re-fault.

Slilently clean-up the "eoff" mess.

(Superfluous braces will go once things settle down.)
2010-01-31 09:20:31 +00:00
uebayasi
fd3f38bda1 Indent. 2010-01-31 07:47:29 +00:00
uebayasi
3f944b46d0 uvm_fault_internal: In lower fault handling case, put another goto to clarify
that we don't care lower neighboring pages for the zero-fill object.
2010-01-31 07:46:03 +00:00
uebayasi
19311f603b uvm_fault_internal: Skip another long code segment (lower "neighbor" fault)
by a goto.
2010-01-31 07:37:24 +00:00
jruoho
6c41d7d7a2 Add detachment routine. 2010-01-31 07:34:10 +00:00
uebayasi
51af955674 uvm_fault_internal: Put a goto label "Case1" as well as "Case2". Clarify
that if the faulting page is shadowed, we don't care the lower layer at all.
2010-01-31 07:32:35 +00:00
jruoho
baf97f9356 Allocate the sensor structures dynamically. 2010-01-31 06:45:09 +00:00
jruoho
1aca5372db Add detachment routines. 2010-01-31 06:10:53 +00:00
pooka
8288b650e5 uncommit part which wasn't supposed to get committed yet 2010-01-31 03:57:01 +00:00
pooka
d5352760af Add an example on how to use sysmon watchdogs in rump. 2010-01-31 03:11:55 +00:00
pooka
ce0b07ef94 Add rump sysmon component to devlists. 2010-01-31 03:09:26 +00:00
pooka
f91185803c Add sysmon rump component. 2010-01-31 03:06:59 +00:00
pooka
fdca8d1743 print newline after timer expiry message 2010-01-31 02:54:56 +00:00
pooka
8844790318 include kern_hook.c 2010-01-31 02:08:36 +00:00
pooka
3cba324816 Pass root device as a parameter to domountroothook(). 2010-01-31 02:04:43 +00:00
uebayasi
e93a6edc86 Correct previous; fix a miscalculation of offset-into-entry in MADV_SEQUENTIAL
case.  Pointed out by pooka@.
2010-01-31 01:40:12 +00:00
pooka
04b824ef52 Place *hook implementations in kern_hook.c instead of them floating
around in the kern_subr.c gruel.  Arrrrr.
2010-01-31 01:38:48 +00:00
snj
58e4422c47 Some might argue that it is benefi_c_ial to spell words correctly. 2010-01-31 00:54:22 +00:00
pooka
3b780690a4 Use proper static initializers for *hooklist (currently they happened
to work accidentally anyway since the initializer is 0).
2010-01-31 00:48:07 +00:00
hubertf
af120bb199 Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.
2010-01-31 00:43:37 +00:00