Age | Commit message (Collapse) | Author |
|
if it can tell the target CPU isn't actually idling and introduce cpu_kick()
for the cases where we want to force a non-idle CPU into the kernel.
just a port of the amd64 version; testing by many
|
|
|
|
|
|
|
|
- despite the name, ntohl returns uint32_t, not long
- also fix some %d into %u
|
|
while there, fix a few %d into %u
|
|
|
|
anything useful there. Switching from glass console to serial console is
already done by cninit(), and the reinitializaton of cn_tab by cnset()
breaks the conseleness checks in the wsdisplay code.
Tested on various amd64/i386 systems with both glass and serial console.
ok mpi@
|
|
with ddb entered early with boot -d or from UKC).
|
|
ok pirofti@
|
|
It will be enabled by default in the GENERIC and RAMDISK_CD kernels,
but you have to set vmxnet3 in the VMware configuration on the host;
see vmx(4).
ok deraadt@
|
|
measurement device (idVendor:idProduct=0x0c45:0x7401).
newly added.
ok by mpi@ and sthen@
|
|
spotted by sthen@
|
|
can more fully understand the side-effects.
Tested by various people back at t2k13, been sitting in my tree since then.
|
|
1. Makes amd64 and i386 MTRR code nearly identical
2. Removes support for per-process MTRRs (which were never implemented)
3. Treat "unknown" MTRR types as uncacheable instead of trying to preserve
bogus settings made by the BIOS
4. Various KNF cleanups
Should be no functional change.
ok jsg@, deraadt@
|
|
ok miod@
|
|
No regression has been reported since libusb became the prefered
solution to work with USB scanners.
req. by mpi@
ok ian@ mpi@ miod@
|
|
ok mikeb@, sthen@, tedu@ (implied), doc bits ok jmc@
|
|
|
|
OK mpi@
|
|
generated on all architectures that support pci, making alpha and loongson
compile again.
ok todd@, miod@ seemed to agree with the idea
|
|
Mickey approves these changes.
|
|
Includes kernel modesetting, framebuffer console and support
for newer hardware.
Firmware needs to be present for acceleration and in some cases
modesetting to work. It can be installed via fw_update
or manually via pkg_add.
With lots of help from kettenis@ some macppc bits from mpi@
and some ttm refcount/queue bits from FreeBSD.
Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.
|
|
sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching
type on all are architectures.
ok millert@, matthew@
|
|
|
|
ok miod kettenis
|
|
we block all interrupts that can grab the kernel lock. The simplest way to
achieve this is to make sure mutexes always raise the ipl to the highest
level that has interrupts that grab the kernel lock. This will allow us
to have "mpsafe" interrupt handlers at lower priority levels.
No change for non-MULTIPROCESSOR kernels.
ok matthew@
|
|
type definitions that are the same across all archs from
<machine/_types.h> to <sys/_types.h>
ok deraadt@ kettenis@ otto@
|
|
ok kettenis@
|
|
f_count is long
ok kettenis@
Change esm_sensor_map.arg to int
ok deraadt@
|
|
breakage lurking; ok kettenis@
|
|
the same across all archs from <machine/_types.h> to <sys/_types.h>
ok deraadt@
|
|
tc_frequency is unsigned
ok kettenis@
|
|
were still unused.
ok millert@
|
|
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are
mostly interested in -Werror here.
|
|
|
|
tested by various
|
|
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
|
|
add i386 sparc and sparc64. ok deraadt
|
|
removed at n2k13 but a few errant references still remained. No functional
change. Spot tested by my on i386 and amd64 UP environments, no regressions
seen.
noticed by deraadt@
|
|
|
|
ok matthew@ deraadt@
|
|
from Sylvestre Gallon ccna.syl gmail.com
|
|
necessary. If something crawls in again that needs these we want to know
ok deraadt@
|
|
In case the 'starttick' had a rather large value, the code could miss
one or more cycles of the i8254 timer.
ok tedu@
|
|
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)
|
|
ok deraadt@
|
|
executing code possibly causing side effects during the image unpack
operation. But before we can halt the APs, we need to complete their init
(as they will be hatched but idling, possibly with interrupts off).
Introduces MD function hibernate_quiesce_cpus to do this, called from the
MI hibernate resume code.
ok deraadt
|
|
|