Age | Commit message (Collapse) | Author |
|
Doesn't matter much since C++ ABI used by GCC doesn't mangle variable
names; however technically is required by Section 7.5 of the C++ spec.
Discussed with/OK guenther@, matthew@.
|
|
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an
ATA bus, so umass(4) shouldn't care about it.
ok krw@, dlg@; no objections from deraadt@
|
|
|
|
|
|
returns EFBIG. This cannot be recovered from and is usually indicative
of a damaged pmap. Therefor, panic right here instead.
This diff meant the difference between dropping into single-user mode versus
getting a traceable panic.
ok kettenis@
|
|
zeroed out.
Documented this in code and updated PMAP_PREFER_* macros to use the corrected
values.
Discussed with and ok miod@
|
|
while there fix PMAP_PREFER_OFFSET() for good too, after discussion with ariane@
|
|
|
|
Enables future uvm_map code to make intelligent decisions during allocation.
No functional change.
|
|
|
|
if you boot from a disk that ends up behind mpath(4) on sparc64,
it wont be able to resolve it to the actual disk device since a
path driver (eg sym(4)) sits where ofw tells us a disk is.
this diff allows the bootpath code to match on path drivers, and
then asks mpath to swap the path for the disk device.
ok kettenis@
|
|
Therefore set UVM_FLAG_FIXED and enforce this.
ok oga@
|
|
|
|
not reviewed yet, but it's better to track changes in cvs
|
|
|
|
until they're zombies and then send them signals (for intr mounts). Until
that is untangled, the sigacts change is unsafe. sthen@ was the victim
for this one
|
|
what the previous IO was. Less chance of copy and paste errors.
Suggested by miod@.
|
|
are past. Use CLR() and SET() to modify necessary flags while leaving
the flags used by the buffer cache in peace.
Should make bufcache code much less confused about the state of the
bufs used in reading/writing disklabels. Other such flag abuses no
doubt await a visit.
Errors in original diff found by miod@.
ok beck@ deraadt@
|
|
be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves
to struct sigacts, wihle stuff that should be per rthread (ps_oldmask,
SAS_OLDMASK, ps_sigstk) moves to struct proc. Treat the coredumping
state bits (ps_sig, ps_code, ps_type, ps_sigval) as per-rthread
until our locking around coredumping is better.
Oh, and remove the old SunOS-compat ps_usertramp member.
"I like the sound of this" tedu@
|
|
using the -MD option to cc, with -MP, -MT, and -MF where needed, converting
"make depend" to a no-op. This increases parallelism for those using "make -j"
and keeps the dependencies up to date with each compilation automatically.
sparc and vax users will need to rebuild gcc with support for the
-M[PTF] options before config'ing with this diff.
|
|
|
|
|
|
|
|
update the comment block accordingly.
|
|
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
|
some time, and return errnos instead. Fix or remove out-of-date comments
mentioning the error strings, and make their callers check the return value
against zero, not NULL.
|
|
a vforked child behave correctly. Have the parent in a vfork()
wait on a (different) flag in *its* process instead of the child
to prevent a possible use-after-free. When ktracing the child
return from a fork, call it rfork if an rthread was created.
ok blambert@
|
|
<machine/cpu.h> if _KERNEL is defined. The bootblocks are stupid, and
for now they need this. We need more namespace cleanup, for sure.
|
|
Discussed and okay drahn@. Okay deraadt@.
|
|
layout inquiry, as some PS/2 converters (at least the Starview SV 125) need
it to behave correctly.
Found the hard way and researched by Mike Malopolski, thanks!
|
|
"Go for it" deraadt@
|
|
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw
|
|
Okay guenther@, millert@.
|
|
ok kettenis
|
|
all cases, it should not waste time doing extra if/else if/else if/else
conditions. i wonder how much this is going to speed up sparc64...
ok miod kettenis
|
|
ok miod@
|
|
ok miod@
|
|
holding locks, this is not allowed, and nobody has stepped up to fix this,
so better not lure people into using bluetooth devices.
|
|
|
|
"doesn't hurt" deraadt@
|
|
|
|
panicing if we spin for too long. It is difficult to find an upper bound
for the spin count and there is some evidence the current limit is too low.
We made similar changes to amd64/i386 some time ago.
ok deraadt@
|
|
Enable athn at uhub on all USB 2.0 capable arches.
|
|
VD_MEDIA_TYPE_CD to vDisk 1.1 clients. Makes installing from a Solaris 11
Express bootable install CD work.
|
|
|
|
support and implement VD_OP_SET_VTOC. This makes Solaris actualy run on top
of an OpenBSD control domain. Installing from CD needs some further tweaking
but a network install will probably work. OpenBSD clients are still happy.
|
|
and it seems we were off by one.
|
|
so don't assume vcons(4) always is the console.
|
|
And radeonfb(4) just works on it.
|
|
VD_OP_GET_VTOC and VD_OP_GET_DISKGEOM. Factor out the code to ACK descriptors
and fix a bug copying in/out a descriptor that crosses a page boundary.
|