Age | Commit message (Collapse) | Author |
|
<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@
|
|
type definitions that are the same across all archs from
<machine/_types.h> to <sys/_types.h>
ok deraadt@ kettenis@ otto@
|
|
breakage lurking; ok kettenis@
|
|
the same across all archs from <machine/_types.h> to <sys/_types.h>
ok deraadt@
|
|
the arm one.
ok bmercer@
|
|
|
|
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
|
|
|
|
it's now atomic_lock to better reflect its usage, and librthread now
features a new spinlock that's really a ticket lock.
thrlseep can handle both types of lock via a flag in the clock arg.
(temp back compat hack)
remove some old stuff that's accumulated along the way and no longer used.
some feedback from dlg, who is concerned with all things ticket lock.
(you need to boot a new kernel before installing librthread)
|
|
|
|
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
ok bmercer@
|
|
writable. This will cause a pmap fault on first write, so that we can
mark the page as modified. Also mask the bits used for the protection
settings, so that there aren't any leftovers.
ok bmercer@
|
|
|
|
headers so that we only need one of them.
"Go for it." miod@
|