Age | Commit message (Collapse) | Author |
|
host controller because autoconf(9) already does it.
Breakage reported by todd@
|
|
|
|
it needs to be done atomicly on some MP archs and we don't have
atomic_add_int() everywhere yet. Also, mi_ast() was meant to be inline.
noted by miod@
|
|
|
|
ok deraadt@
|
|
|
|
to avoid possible use-after-free references when swapping ids in threaded
processes. "Do I have the right creds?" checks are always made with the
threads creds.
Inspired by FreeBSD and NetBSD
"right time" deraadt@
|
|
|
|
struct ucred; struct process then directly links to the ucred
Based on a discussion at c2k10 or so before noting that FreeBSD and
NetBSD did this too.
ok matthew@
|
|
ok dlg@ mpi@ deraadt@
|
|
Tweak the handling of ktrace EMUL when changing ktracing: only
generate one per process (not one per thread) and pass the correct
proc pointer down to the VFS layer. Permit generating of NAMI and
CSW records inside ktrace(2) itself.
ok deraadt@ millert@
|
|
testing help mpi@
|
|
|
|
native size, so eliminate the #defines.
ok miod@
|
|
"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.
|
|
<machine/pmap.h> where it belongs, and compensate in <uvm/uvm_extern.h>
by including <uvm/uvm_pmap.h> before <uvm/uvm_page.h>. Tested on all
MACHINE_ARCH but amd64 and i386 (and hppa64).
|
|
kernels:
- keyboard drivers will now tell wskbd if the keyboard layout they ask
for is a default value, or a value they are 100% sure of (either
because your kernel has a XXXKBD_LAYOUT option, or because the
driver can tell the keyboard layout, e.g. by the country code on USB
keyboards which provide it, such as Sun's)
- when attaching a keyboard with a non-default layout, the layout will
become the default layout of the mux for new keyboard attachments if
the mux doesn't have a layout set already.
- when changing the keyboard layout of a particular keyboard with an
ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the
default layout of the mux for new keyboard attachments.
ok mpi@
|
|
|
|
process the definition of struct vm_page_md.
|
|
grovellers need to know it to be able to get the right size for struct
vm_page.
|
|
|
|
|
|
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
|
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
|
|
|
|
ok matthew guenther mikeb
|
|
ok kettenis@
|
|
which basically doesn't exist at all.
reminded about it by brad
|
|
been allocated. also gets rid of a potential bug where pool_get could
return NULL and pmap_alloc_l2_ptp tried to blindly init it.
tests, tweaks, and ok patrick@
|
|
the generic function. While there, also set the cache bits manually.
ok aalm@
|
|
ok jasper@, patrick@
|
|
ok jasper@, patrick@
|
|
we enable write-back, but it seems this is not working and those
boards hang on bootup. Until that is fixed, do not cache PTEs
on those boards.
|
|
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
|
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@
|
|
ok rapha@
|
|
for SMP, like on amd64. Add some SMP defines.
ok rapha@
|
|
and not just a global variable.
ok rapha@
|
|
|
|
how many of those there have been.
|
|
were utterly wrong. Fix Log2(), correct one taken from the scheduler code.
Tested by rapha@ and Artturi Alm.
|
|
we define DSB/ISB (Data/Instruction Synchronization Barrier) manually.
There are multiple options for those instructions, i. e. "full system
operation", which is the default of those.
The defines we used were not the defaults we assumed they were, but some
other option which might not actually exist.
In the future we could try using DSB/ISB as a Mask and add the correct
option value. For now, just fix those values.
ok rapha@
|
|
No regression has been reported since libusb became the prefered
solution to work with USB scanners.
req. by mpi@
ok ian@ mpi@ miod@
|
|
ok patrick@
|
|
sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching
type on all are architectures.
ok millert@, matthew@
|
|
ok patrick@
|
|
ok rapha@ jsg@
|
|
timer and the newer Cortexes have another generic timer.
ok rapha@ jsg@
|
|
ok miod kettenis
|
|
ok patrick@
|