Age | Commit message (Collapse) | Author |
|
This prevent the scheduler from scheduling tasks to CPUs not beeing able
to execute them during the boot process.
ok visa@, kettenis@
|
|
ddb(4) can now see static functions. That doesn't mean we should start
declaring functions as ``static'', however it helps for the few existing
exceptions.
ok deraadt@, kettenis@
|
|
|
|
decoding code I'm working on for vmm(4) debugging. No functional change.
|
|
|
|
An X server built after april 3 is needed to be able to start X with
the new kernel.
ok kettenis@
|
|
so instead of halfway configuring this mode and unconditionally panicing,
just don't attach mpbios at all if this mode is detected during probe.
ok kettenis
|
|
architectural performance counters, instead of cpu family/model values.
Fixes a panic seen on some hypervisors when pctr(1) is used when the
hypervisor masks out the counters.
Reported by Hiltjo Posthuma, thanks.
ok mikeb@, guenther@
|
|
and the PCB_SAVECTX flag would be a lie.
ok kettenis@ mpi@
|
|
years ago.
ok dlg@
|
|
|
|
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
They're no longer used by anything and should let us simplify the TSS
handling.
ok mikeb@ naddy@
|
|
all the local ones to ``nticks''.
ok stefan@, deraadt@
|
|
our own.
From Michal Mazurek, ok mmcc@
|
|
load the ldt register with the null selector (disabling use of it),
stop reloading it on every context switch, and blow away the table
itself, as well as the pcb and pmap bits that were used to track
it (making sure to keep pcb_savefpu correctly aligned).
testing naddy@
ok kettenis@ mpi@ mlarkin@
|
|
ok beck@ deraadt@
|
|
Reduce differences with amd64.
Inputs from mikeb@, ok mlarkin@
|
|
ok mlarkin@ deraadt@
|
|
Prevent a fault in DDB on amd64.
ok mlarkin@
|
|
Remove machdep.userldt sysctl.
Remove i386_[gs]et_ldt syscall stub from libi386.
Remove i386_[gs]et_ldt regression test.
ok mlarkin@ millert@ guenther@
|
|
handlers.
No functionnal change.
ok mlarkin@, mikeb@
|
|
its associated dead code.
ok mikeb@
|
|
ok mikeb@
|
|
Remove "option COMPAT_LINUX" and everything directly tied to it from the
kernel and the corresponding man page documentation.
ok visa@ guenther@
|
|
Remove "option COMPAT_LINUX" and everything directly tied to it from the
kernel and the corresponding man page documentation.
ok visa@ guenther@
|
|
The goal is to include it in the list of functions that must not be
instrumented. All ddb(8) functions should be in this list and have
their names start with 'db_'.
ok visa@, deraadt@
|
|
it in MI code.
ok mlarkin@, visa@
|
|
While there truncate the tables to the minimum required size; chrtoblk()
and blktochr() are designed to handle a table shorter than cdevsw.
"Looks good to me" deraadt@
|
|
|
|
|
|
the BIOS region in the ISA hole.
Also fix a separate unrelated issue relating to placing R/O (no X)
permissions on the kernel symbol area on bsd.rd.
ok deraadt
|
|
|
|
CPU features is enough, and this enables the use of RDRAND and the
TSC fallback on CPUs from other vendors, notably AMD.
Tested in snapshots for a month.
|
|
Initial help & testing by jmatthew@
Code review & input by mpi@
Final review & OK by jsg@
|
|
can disable leaves that CPU feature flags would seem to imply. Corrects
signal delivery on systems where the AVX leaf is disabled.
report and debugging help from Marcus MERIGHI (mcmer-openbsd (at) tor.at)
ok kettenis@
|
|
in the underlying information store of the host from the OpenBSD-VM's
userspace. OpenBSD did not provide access to these stores before,
mostly because we did not want to add a custom tool and interface for
each hypervisor. The pvbus(4) interface provides backends for
xen(4)'s XenStore and vmt(4)'s VMware Tools "guestinfo". These
information stores are fairly different, XenStore is a "filesystem"
while vmt is a RPC, and the key-value abstraction limits them a bit
but provides the most wanted functionality.
Discussed with many
OK mikeb@
|
|
being 0; after multiply there is no perturbance to the from-disk entropy
buffer. Further investigation showed perturbance was biased towards
the lower bytes of a word. Compensate for this with a hocus pocus
bit-spreading operation which applies a result byte by byte.
discussion with kettenis, tb, mlarkin, naddy
ok naddy
|
|
displays. This makes sure the keyboard mux gets picked up by the primary
(console) display and that USB keyboards get paired with the console even
if they are not marked as the console keyboard. This is what most people
expect to happen. If you really want to associate your USB keyboard with
a secondary display, you can detach it from the mux using
wsconscfg -f /dev/ttyCcfg -k -d
and attach it to another display using
wsconscfg -f /dev/ttyDcfg -k
|
|
|
|
These files aren't USB-specific and were used by the previous
Bluetooth implementation, and will be used by the upcoming
HID-over-i2C implementation
ok deraadt
previous version ok kettenis and mpi
|
|
|
|
and check that is valid. Ensures that NVRAM is accessed at
sensible offsets.
Convert i386/nvram.c to uiomove() while there.
Diff from Martin Natano, thanks!
ok kettenis@, deraadt@
|
|
|
|
ok kettenis@
|
|
to the kernel rng. If the rdseed source is empty fallback to rdrand
as suggested by naddy. rdrand output comes from a prng that is
periodically reseeded. rdseed should give us more bits of entropy.
ok naddy@ djm@ deraadt@
|
|
page protection bits.
Go ahead, mlarkin@
|
|
|
|
(bios, CPU, interrupt handlers, pvbus). This splits the pvbus attach
function into two parts: pvbus_identify() to scan the CPUID registers
for supported hypervisors and pvbus_attach() to attach the bus, print
information, and configure the children.
This will be needed for Xen and KVM, as discussed with mikeb@ and sf@
OK mlarkin@
|
|
"Intel Architecture Instruction Set Extensions Programming Reference"
|