Age | Commit message (Collapse) | Author |
|
sleep bit.
|
|
in the idle loop, in preparation for G5 support.
Only do a disable/enable interrupt dance if the running CPU supports a
sleep mode.
Fix entering ddb(8) from interrupt context by not modifying the return
address of the 'forced' trap frame.
While here, modify the existing logic to terminate prefetching of all
data streams if AltiVec is supported before setting the POW bit.
With inputs/explanations from drahn, looks ok to miod@
|
|
contexts with markers (---like on x86---) and print the associated type
or number when available.
While here, gyp' the support for process tracing (tr /p).
ok miod@
|
|
device tables and kernel config files. ok deraadt
|
|
- Always use either: ((x & RB_XXX) != 0) or ((x & RB_XXX) == 0) in boolean
context (mostly if (x), or x ? y : z)
- prom_halt() in alpha is confirmed to take int as boolean
Converted by coccinelle. No functional change intended.
|
|
file has 'free ('
:-/
|
|
|
|
|
|
"sure" miod@
|
|
ok miod@
|
|
after discussions with beck deraadt kettenis.
|
|
bluetooth support doesn't work and isn't going anywhere. the current
design is a dead end, and should not be the basis for any future support.
general consensus says to whack it so as to not mislead the unwary.
|
|
not sleep if the allocator cannot obtain a lock when BUS_DMA_NOWAIT is
specified.
idea and inputs from kettenis@, ok miod@
|
|
rebooting a machine, like it is done in the hibernate case.
At least some USB host controller drivers rely on this to busy way instead
of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in.
ok deraadt@, uebayashi@
|
|
Again remove slightly different comments to reduce diffs. These will be
re-added once boot() become MI and its specification is clearly re-defined.
OK miod@
|
|
RB_TIMEBAD is documented well enough that the comment is not needed. sparc64
does slightly different and its comment is left with XXX.
OK deraadt@ miod@
|
|
OK deraadt@
|
|
to using if_rxr.
cut the reporting systat did over to the rxr ioctl.
tested as much as i can on alpha, amd64, and sparc64.
mpi@ has run it on macppc.
ok mpi@
|
|
ok miod@
|
|
with softraid(4) disks.
softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is
not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter
does not allow to sleep.
|
|
rebooting a machine, like it is done in the hibernate case.
At least some USB host controller drivers rely on this to busy way instead
of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in.
ok deraadt@, uebayashi@
|
|
host controller because autoconf(9) already does it.
Breakage reported by todd@
|
|
|
|
|
|
ok mpi@ yuo@
|
|
instead a single function ppc_mem_regions() required by the ppc pmap.
ok kettenis@
|
|
|
|
ok dlg@ mpi@ deraadt@
|
|
Tweak the handling of ktrace EMUL when changing ktracing: only
generate one per process (not one per thread) and pass the correct
proc pointer down to the VFS layer. Permit generating of NAMI and
CSW records inside ktrace(2) itself.
ok deraadt@ millert@
|
|
has these enabled and this leads to memory corruption that (surprisingly)
only shows up when running PIE.
|
|
testing help mpi@
|
|
"mainbus" device. this breaks when mpath is enabled because it
attaches before mainbus and therefore takes the head position.
have autoconf provide device_mainbus() which looks up mainbus_cd,
and use that instead.
discussed with deraadt who just wants mpath stuff to move forward
despite there being many ways to shine this particular turd.
|
|
higher spl. Fixes booting my n1200 with a usb disk plugged in.
|
|
While there, fix some indentation and adjust things for 64-bit time_t.
|
|
<machine/pmap.h> where it belongs, and compensate in <uvm/uvm_extern.h>
by including <uvm/uvm_pmap.h> before <uvm/uvm_page.h>. Tested on all
MACHINE_ARCH but amd64 and i386 (and hppa64).
|
|
grovellers need to know it to be able to get the right size for struct
vm_page.
|
|
|
|
libkern srandom() API since it is not suitable for this use.
ok kettenis miod
|
|
This changes calling boot() during (cold != 0) to not call if_downall() and
uvm_shutdown(). Both of which must not be specific to PowerPC.
OK mpi@
|
|
|
|
|
|
"sure" deraadt@
|
|
config_suspend() in ppc boot() functions. Always go through them regardless
of (howto & RB_HALT).
OK deraadt@ mpi@
|
|
|
|
ok kettenis@
|
|
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in
order to get|set correct value that includes the high bits of the
value.
|
|
which basically doesn't exist at all.
reminded about it by brad
|
|
which basically doesn't exist at all.
reminded about it by brad
|
|
(HID) definitions, from FreeBSD with tweaks, instead of defining
them in different places.
ok kettenis@
|
|
readdoslabel(). Ditto all the MD variables whose addresses are passed
to readdoslabel() via partoffp.
Fix some 512-byte block vs disk sector confusion in hppa and sgi.
All the DL_GETxxxxx() defines return disk sector values. All
DL_SETxxxx() take disk sector values. These changes should be no-ops
until a drive using non-512-byte-sectors is encountered.
ok deraadt@
|