Age | Commit message (Collapse) | Author |
|
|
|
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@
|
|
of ACFAIL, what reaches the console is explicit enough.
|
|
|
|
ok dlg@ mpi@ deraadt@
|
|
"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.
|
|
|
|
contents of PT_LOAD headers to the output.
|
|
libkern srandom() API since it is not suitable for this use.
ok kettenis miod
|
|
|
|
|
|
"sure" deraadt@
|
|
that .text, .rodata and .data are aligned on BATC boundaries) and merge
all phdrs into the first BCS section.
|
|
dbatc. Add batc mapping support for 88110 systems as well.
|
|
DBATC may span over parts of .rodata.
|
|
data area and the kernel image, whenever possible.
On 88100/88200 systems, use BATC mappings to map the kernel text (and the
kernel data for non-MULTIPROCESSOR kernels). 88110 to follow soon.
|
|
|
|
not get lost if the chip is reset. Also try to mask the `TX start' interrupt,
but this doesn't seem to work.
|
|
probably due to incorrect programming of the system board ``Diagnostic Control
Register'', for which I do not have documentation yet; commited so as not to
lose this work, since the machine I was testing on has apparently commited
suicide and will no longer POST.
|
|
ok miod
|
|
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@
|
|
|
|
from the network, with symbols. This will be useful to load bsd.rd on systems
with the 3MB bootfile limit in the stupid PROM. Crank version to 0.4.
|
|
the .h file is missing... so remove the #if 0 chunk
|
|
|
|
ok miod
|
|
when it's not welcome.
|
|
the end of the commandline. Clean up a few stale comments. Crank boot blocks
version to 0.3.
|
|
- switch to perl for better data structures and (thus) speed
- fix a couple glitches in the interpretation of the stabs output
- compress the strings by putting them in one big array and overlaying
suffixes
- all sizes and offsets are <64k, so use u_short for them
This results in ~60% reduction in the resulting text size and it now
takes less than a second to create on fast platforms.
ok miod@
|
|
|
|
|
|
400 and 4300. Limited to PIO mode only for now, until the DMA controller is
tamed. Heavily based upon the MI aic(4) driver.
|
|
for older PROM will fail to load BCS binaries with only a .text section,
and will also fail to load an empty .data section.
Tested on AV4300.
|
|
address of a controller only know by its SCM name and number, and the boot
device detection code will now attempt to match the controller first, and
then grandchildren of it (if the boot device is a disk or a tape).
|
|
to the kernel will now match the device the kernel is loaded from, not the
device the boot blocks are loaded from (this allows one to netboot the
boot blocks to boot a kernel from a local disk).
|
|
Needs more work in order to cover all cases, but enough to get internal
disks on the first controller on models 4600 and 530 to get matched.
This makes the aviion port finally self-hosting on aforementioned models,
finally! Next step: bsd.rd...
|
|
|
|
cranking boot blocks version because it's unlikely anyone but me is running
them at the moment.
|
|
|
|
|
|
default kernel name if only a boot device is specified.
This makes boot paths like "sd()" auto-boot without asking for a kernel name.
|
|
SCSI tape support.
Drop sync negotiation from oosiop code, we can run without it.
|
|
Currently limited to oosiop(4) controllers, and thus models 4600 and 530.
There are some rough edges to polish to avoid manual interaction (kernel
currently can't figure its boot device when booted from disk), but the hard
(and hair-pulling) work is over.
And we can have kernel symbols again!
|
|
|
|
set up the delay constant.
|
|
mvme88k, to be able to unmap the page at address zero in the kernel, and have
the vbr page read-only after being initialized.
|
|
`extended interrupt' masks. This is how the hardware works, and this makes the
code simpler than attempting to aggregate them.
No functional change.
|
|
|
|
found, do not attempt to check for any other label scheme: the VDM signature
implies the disk doesn't use MBR or whole-disk partitionining.
This makes sure that, once a boot area has been set up on a disk without any
form a label yet, the bounding constraint it creates will not be cleared by
readdoslabel().
It is now possible to correctly set up and label a vnd image with a boot area.
|