Age | Commit message (Collapse) | Author |
|
for RB_DFLTROOT; ok miod
|
|
|
|
driver(s). Adapted from sd driver.
ok marco@
|
|
ok miod@
|
|
for the addition of missing disklabel related ioctl's.
ok deraadt@
|
|
tested by Thorsten Glaser <tg@mirbsd.de> on sparc; while there, pretty and
shrink dmesg output.
|
|
backwards.
|
|
bsd.rd does not overlap the boot code... this problem is starting to
feel familiar.. tested by myself and claudio
|
|
ok deraadt@
|
|
shorter code than a conditional ADDCARRY, so use it; inspired by hppa.
|
|
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI,
CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI.
ok miod@
|
|
kernel compile again.
|
|
|
|
prompted by krw@
|
|
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make
it out to userland.
ok miod
|
|
|
|
from Rodolfo Gouveia
|
|
|
|
sys/dev/pci/pciide.c from naddy@
|
|
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@
sys/dev/pci/bktr/* ok jakemsr@
|
|
|
|
|
|
the ovbcopy() code
ok miod
|
|
directive can select between MI and MD versions of these files. At
the same time, adjust the boot programs to pick exactly what they need,
instead of the 7 or 8 mechanisms previously used.
There will be some fallout from this, but testing it all by myself is a
ridiculously slow process; it will be finished in-tree.
Various developers were very nice and avoided making fun of me when I
was gibbering in the corner..
|
|
decide which files must be pulled into the kernel. Also conditionalize
the pulling of those files based on the COMPAT_* options.
|
|
ok miod
|
|
ok miod@
|
|
|
|
- Move the functionality of choosing a process from cpu_switch into
a much simpler function: cpu_switchto. Instead of having the locore
code walk the run queues, let the MI code choose the process we
want to run and only implement the context switching itself in MD
code.
- Let MD context switching run without worrying about spls or locks.
- Instead of having the idle loop implemented with special contexts
in MD code, implement one idle proc for each cpu. make the idle
loop MI with MD hooks.
- Change the proc lists from the old style vax queues to TAILQs.
- Change the sleep queue from vax queues to TAILQs. This makes
wakeup() go from O(n^2) to O(n)
there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.
deraadt@, kettenis@ ok
|
|
size(*p) usage.
|
|
associated field access defines. This reverts most changes to
dev/sun/disklabel.h without eliminating new functionality. Fix
comments to line up and fit on 80 column line, making both tsi@ and I
feel better.
Simplify logic in disksubr.c. No semantic change.
Tested & ok tsi@.
|
|
obvious.
|
|
ok art@
|
|
by interpreting more fields out of a standard Sun disk label.
ok krw@
|
|
the holes a MMU may have from a given vm_map. This will be automagically
invoked for newly created vmspaces.
On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents
mmap(2) hints which would end up being in the hole to be accepted as valid,
causing unexpected signals when the process tries to access the hole
(since pmap can not fill the hole anyway).
Unfortunately, the logic mmap() uses to pick a valid address for anonymous
mappings needs work, as it will only try to find an address higher than the
hint, which causes all mmap() with a hint in the hole to fail on vax. This
will be improved later.
|
|
kernel builds locally this doesnt change much but over NFS this
cuts about 12% of the build time on my setup (i386).
OK miod@, deraadt@.
|
|
800x600 panel, and document the acceleration code as currently broken on
640x480 panels.
|
|
sugar.
|
|
dance, so that we do not depend on its behaviour. No functional change.
|
|
|
|
|
|
cpu_disklabel can go away, since nothing anymore needs to use it.. except
these two drivers. knock out that code for now to let it compile while
miod gets his fix ready for these drivers.
|
|
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
|
|
Even if the latter would end up removing the mappings by itself, it would
do so using pmap_remove() because phys_map is not intrsafe; but some
platforms use pmap_kenter_pa() in vmapbuf(). By removing the mappings
ourselves, we can ensure the remove function used matches the enter function
which has been used.
Discussed and theoretical ok art@
|
|
|
|
|
|
|
|
to support hotplug media on most architectures. disklabel setup and
verification done using new helper functions. Disklabels must *always*
have a correct checksum now. Same code paths are used to learn on-disk
location disklabels, to avoid new errors sneaking in. Tested on almost all
cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
|
|
looks right krw@, Righto miod@
|
|
|