Age | Commit message (Collapse) | Author |
|
these (DEBUG) defines.
ok miod@
|
|
ok miod@
|
|
from a fork syscall done by the parent. Use __tfork, not rfork
here to match the ktrace records for the parent (CALL __tfork,
RET __tfork). ok guenther
|
|
ok deraadt@
|
|
|
|
"MTU" of 4096 bytes.
|
|
|
|
of per-rthread. Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.
ok kettenis@
|
|
|
|
|
|
|
|
control domain to talk to the sun4v hypervisor.
|
|
|
|
|
|
out the intended device name from the realdev constructed by
opendev(). Should fix the issue found by stsp@ in trying to install
a boot-from-softraid sparc64.
ok deraadt@
|
|
root on softraid possible, although the kernel still needs to be loaded
from a non-softraid partition.
|
|
- Use opendev() like we do for installboot on many other archs.
- Use the term bootblock rather than prototype for the first-stage, since
we install it verbatim.
- Read the bootblock into a zeroed buffer rather than messing around with
mmap() and zeroing the end of the space.
- Make man page consistent with respect to the first-stage bootblock and
second-stage boot program.
ok kettenis@ jmc@ (for the man part)
|
|
related code.
ok kettenis@
|
|
past, pull that code out seperately.
ok guenther miod
|
|
by krw and myself.
|
|
ok guenther@
|
|
|
|
|
|
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
|
|
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
|
|
which stops the MI com code from probing it as a 16550a.
hopefully this will prevent the awesome faults on the mainboard from
locking the system up.
ok kettenis@
|
|
uint64_t, depending upon the platform; this makes the declaration of these
types consistent accross all our supported platform, and we do not intend
to support a platform where bus_addr_t could be larger than the size of the
cpu register. Requested by deraadt@ during s2k11
|
|
deraadt@ and jsing@ noticed hppa64 label_t was too short; amazing this did not
get noticed earlier.
|
|
ok ariane@
|
|
|
|
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@
|
|
systems.
|
|
is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
|
|
scsibusattach() is called, so saa_sc_link->bus hasn't been initialized
to a valid pointer yet.
Easy fix: Use dev->dv_unit instead of poking into the attach args.
ok krw@, jsing@
|
|
as it causes hangs in some ports, including libsigsegv's configure script
confirmed by krw@, landry@
|
|
saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|
|
|
|
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
|
|
in master aborts. Return 0xffffffff to emulate what happens on non-perfect
architectures in that case.
ok deraadt@
|
|
in master aborts. Return 0xffffffff to emulate what happens on non-perfect
architectures in that case.
ok deraadt@
|
|
KERNEL_PROC_LOCK -> KERNEL_LOCK
KERNEL_PROC_UNLOCK -> KERNEL_UNLOCK
oga@ ok
|
|
|
|
|
|
Soon to be used by pyro(4) as well.
|
|
ok beck deraadt
|