Age | Commit message (Collapse) | Author |
|
|
|
hyphen in their official programming guide sometime between 2003 and
2005, and Clang's integrated assembler does not support hyphenated
mnemonics.
ok jsg, deraadt
|
|
for real!
Pointed out by Alexey E. Suslikov.
|
|
part of the future we have planned. middling ok from a few
|
|
AMD hardware the next time somebody tries to run on a broken KVM hypervisor.
|
|
kernel lock upon entry through a new IPL_MPSAFE flag/level.
|
|
This gives users a decent chance to see panic messages and interact with ddb(4)
when they're running X on hardware for which we have a KMS driver. Currently
that means inteldrm(4).
ok jsg@, guenther@
|
|
single c function. This will hopefully make easier to stop taking
the kernel lock when running "mp safe" interrupt handlers.
help from ok kettenis
|
|
|
|
ok kettenis
|
|
cycles per second isnt reliable, particularly inside "virtual" machines.
cpuspeed can be calculated as 0, which causes a divide by zero later on
which is bad.
this goes to more effort to detect if the performance counters are in use
by the hypervisor, or detecting if they gave us a cpuspeed of 0 so we can
fall through to using rdtsc.
ok jsg@
|
|
uniqueness to seed the random pool; although it's somewhat
hit-or-miss, as serial numbers of 123456789 (I have the same
combination on my luggage!) and lazy uuid instantiation
mean it's not as unique as we would like.
Still, on those boards where the manufacturer isn't a slacker,
it's better than nothing...
ok deraadt@
|
|
are needed for the upcoming type changes.
ok deraadt@
|
|
|
|
|
|
|
|
Prevents strange hang-ups during reboot. Joint work with hshoexer@.
ok mikeb@, mlarkin@, miod@, deraadt@
|
|
Diff from Christian Groessler (chris (at) groessler.org)
|
|
|
|
using the media with upgrades - athn(4), atu(4), otus(4), rsu(4), uath(4)
ok deraadt@
|
|
ok miod kettenis tedu
|
|
|
|
namespace a bit much. These are the names for the value encoded in
core.c_ucode or siginfo.si_trapno, but userland never looks directly
and only cares about the abstract signal code.
ok guenther
|
|
the things that libkvm needs.
|
|
ok deraadt miod
|
|
|
|
libm. While at it, remove now unused workarounds for lint.
Agreed by kettenis@, guenther@, matthew@.
|
|
another symbol without weak attribute. To be used in libc and libm
soon. Agreed by kettenis@, guenther@, matthew@.
|
|
the drivers which were disabled.
|
|
almost 6 years ago; Alexey Suslikov
|
|
|
|
|
|
|
|
|
|
to keep definitions our of user space. The MD files now follow a consistant
order -- all namespace intrusion is at the tail can be cleaned up
independently. locore, bootblocks, and libkvm still see enough visibility to
build. Checked on 90% of platforms...
|
|
|
|
|
|
FPU state needs a little bit more setup. Fix things properly this time by
simplifying matters and saving the FPU state from the IPI that halts the
CPU. With help from deraadt@ and mlarkin@.
ok deraadt@, mlarkin@
|
|
found when i told mlarkin to look at it for re-use in a different place
ok mlarkin
|
|
support to reload bindings after suspend/resume and to update cachability
flags in the address translation table entries.
|
|
mostly from armani.
ok miod, mpi, jsg and help from sthen
|
|
This will make it easier to have device drivers for some oddities these
machines have
ok kettenis, assume jsg is ok with it too
|
|
kgmon(8) to deal with them, this time without public header changes.
Previously various CPUs were iterating over the same global buffer at
the same time to modify it and never ended.
This diff includes some ideas submited by Thor Simon to NetBSD via miod@.
ok deraadt@, mikeb@, haesbaert@
|
|
information about piglet memory layout. No functional changes.
|
|
|
|
by another thread in the same process running on another cpu
raising pm_highexec and pm_codeseg. w/help from kettenis@
okay beck@ guenther@
|
|
at this moment.
|
|
various CPUs were iterating over the same global buffer at the same
time to modify it and never ended.
This diff includes some ideas submited by Thor Simon to NetBSD via miod@.
ok mikeb@, haesbaert@
|
|
|
|
swap for you to the hosts endianness. sometimes you dont want this hand
holding and just want raw access to the registers. bus_space does have
stuff to do this already, but they deal with buffers which can be awkward
if you just want to get or set a single register.
this adds the following to i386 and amd64:
bus_space_read_raw_2() bus_space_read_raw_4() bus_space_read_raw_8()
bus_space_write_raw_2() bus_space_write_raw_4() bus_space_write_raw_8()
sparc64 already implements this, even though it wasnt part of the
official api. how handy.
i'll do other archs as i can.
kettenis@ and miod@ seem ok with this
|