Age | Commit message (Collapse) | Author |
|
are able to handle the given discipline. At this stage amd64 boot(8) is
limited to RAID 1. This makes life easier for users who are booting from
a softraid crypto volume, but are loading a kernel from hd0a:/bsd.
Tested by jrick@devio.us - thanks!
|
|
irrelevant with acpi machines
|
|
different scheme.
ok jsg@
|
|
new space. The same cannot be done yet with some other architectures
which share the RAMDISK kernel amongst media types too tightly. I am
investigating the horrific src/distrib cleanups required to fix that.
|
|
- whilst here, normalise Nd
|
|
ok kettenis@
|
|
ok kettenis@
|
|
from Bryan Steele
|
|
|
|
|
|
failures to be neglected; ok markus
|
|
renamed.
|
|
is the DUID that we booted from, which is not always going to be the same
as the DUID that we mount root on.
|
|
allows a kernel to be loaded from a softraid RAID 1 volume. Furthermore,
if you boot from a disk that is a member of a bootable softraid volume
then it will default to booting from the softraid volume (sr[0-9]a:/bsd).
Discussed with deraadt@
|
|
This is already done in i386.
ok jsg "if there is no change to the flags in your dmesg"
|
|
While the docs say we should check a bit in cpuid this should work as well.
Fixes problems related a fictitious AMD machine dreamed up by Linux KVM.
Reported/tested by Walter Haidinger, diff from Bryan Steele.
|
|
This is all documented at:
http://support.amd.com/us/Embedded_TechDocs/25481.pdf (page 20)
http://www.intel.com/assets/pdf/appnote/241618.pdf (page 41)
ok jsg@
|
|
ok mikeb@
|
|
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.
ok jmc@ kristaps@
|
|
past, pull that code out seperately.
ok guenther miod
|
|
by krw and myself.
|
|
|
|
disk/partition name - in this case print the chunk number instead.
|
|
|
|
busses.
tested by krw@
|
|
|
|
|
|
for pointing to the thread-control-block. Support for mapping this
to the correct hardware register can be added as it's finished;
start with support for amd64, sparc, and sparc64. Includes syscalls
for getting and setting it (for a portable __errno implementation) as
well as creating a new thread with an initial value for it.
discussed with miod@, kettenis@, deraadt@; committing to get the syscalls
in with the impending libc bump and do further refinements in tree
|
|
space and not noticing because they only test on amd64. So enforce alignment
there as well, at least for a little while such that we find those bugs and
force people to fix them.
|
|
they apply.
ok oga@ deraadt@
|
|
This mandatory function will get invoked in pci_probe_device(), and allows
a pci host driver to alter the pci_attach_args passed to a device when
attaching.
This function will also, if returning non-zero, cause the device to be
skipped completely during all the phases of the PCI device discovery
(i.e. ressource enumeration, ressource assignment, and actual attachment).
This particular feature is experimental and might be reverted in the future
(or the scope narrowed to device attachment only).
A dummy #define pci_probe_device_hook() 0 is added to all platforms except
sgi, where real functions (currently only returning 0) are added; real meat
will be added shortly.
Discussed at s2k11, no objection from the usual suspects.
|
|
discussed with jsing and millert
|
|
vge(4)
discussed at length with jsg
|
|
from tree. ok oga@
|
|
|
|
compat names kept in <machine/param.h>. In <sys/socket.h>, pull
in <sys/_types.h> instead of the namespace polluting <machine/param.h>
and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
|
Since the underlying types of the int_fast types are set by machine/_types.h,
put internal macros in that same file and define the exposed
INT_FAST*_{MIN,MAX} macros from those.
ok millert@, kettenis@
|
|
|
|
ok guenther@
|
|
|
|
Multiplication (CLMUL) instruction found in the new Intel and
future AMD CPUs.
Done about a year ago and was rotting in my trees until Ryan
prodded Theo to read the white paper and figure out the license
issues. Apparently, there are none. All C code and SSE glue
code was written by me, while the GF multiplication function
is taken from the CLMUL white paper, specifically Figure 6:
"Code Sample - Performing Ghash Using Algorithms 1 and 5".
|
|
oga has disappeared
|
|
the OpenBSD partition starts at >128G. This restores previous
behaviour but adds the warning.
ok deraadt@ guenther@
|
|
as it causes hangs in some ports, including libsigsegv's configure script
confirmed by krw@, landry@
|
|
|
|
|
|
all these
arch's LABELSECTOR == DOS_LABELSECTOR == 1, and LABELOFFSET == 0. Thus, to quote bob,
"This is a no-op". Makes the expression used when writing label the same as the one
used in readdoslabel().
|
|
|
|
spikes in other developers by making it so that removal of a .d
file without removing the corresponding object will result in the
latter being treated as out of date.
ok beck@ art@ drahn@
|
|
hold the kernel lock, but still need call one function that needs it.
Instead of grabbing the lock all over the place, move the locks into
the affected functions: trapsignal, scdebug*, ktrsyscall, ktrsysret,
systrace_redirect and ADDUPROF. In the cases we already hold the biglock
we'll just recurse.
kettenis@, beck@ ok
|