Age | Commit message (Collapse) | Author |
|
ok sf@
|
|
checked on amd64 by rpe@
okay jsing@
|
|
Found the hard way by bluhm@
|
|
as an identifier for IO or memory mappings that was checked inside the api,
turn it into a pointer to a structure of function pointers. the api then
generally becomes a set of macros that deref the function pointers on the
callers behalf. the idea is that following a pointer to very small
functions is cheap compared to doing compares continuously.
a notable exception to the macro wrappers is bus_space_barrier which is now
a static inline function. the only argument to it that gets used is the
flags, and thats usually a constant at compile time so it can be inlined
to a single fence instruction.
the kernel is smaller and the api is more cache friendly now.
ok deraadt@
|
|
object directories.
Discussed with deraadt@
|
|
|
|
|
|
presently there are issues with SMP which are being looked at, and a few
machines still reboot on the unpack stage.
ok deraadt@
|
|
problem after unpack
|
|
the MI hibernate code to handle 64 bit archs
|
|
|
|
|
|
affects a.out binaries' core dumps.
|
|
ok guenther@
|
|
that thing to be something other than 0, which as a global it gets initted
to.
|
|
byte operations on I/O space with "invalid I/O operation", but works great
for mem mappings.
compiled AND tested on myx(4) on amd64.
ok deraadt@ kettenis@ miod@ pirofti@
|
|
partition. OK jsing@.
|
|
non-native emulations.
ok miod@
|
|
exercising the same approach as in sys/crypto/cryptosoft.c rev1.67.
|
|
|
|
notation; no binary change
|
|
|
|
ok kettenis@
|
|
ok guenther millert kettenis
|
|
dynamically, by comparing the stack pointer against the altstack
base and size, so that you get the correct answer if you longjmp
out of the signal handler, as tested by regress/sys/kern/stackjmp/.
Also, fix alt stack handling on vax, where it was completely broken.
Testing and corrections by miod@, krw@, tobiasu@, pirofti@
|
|
|
|
These functions represent the basic blocks for using the ACPI global
lock that provides mutual exclusion between the OSPM and the BIOS.
No functional change. Okay kettenis@, deraadt@.
|
|
This is needed for future acpi global locking routines.
Okay kettenis@
|
|
i386 CD image also build/boot tested by todd@
ok mikeb@ deraadt@
|
|
the case we verify if the CPU supports a specific version of the
architectural performance monitoring feature and read out the current
frequency from the fixed-function performance counter of the unhalted
core.
My initial motivation to implement this was the Soekris net6501-70
which comes with an Intel Atom E6xx 1.60GHz CPU. It has a constant
time stamp counter plus speed step support and boots on the lowest
frequency of 600MHz. This caused hw.cpuspeed and hw.setperf to
reflect the wrong values.
The diff is a cooperation work with jsg@. The fixed-function
performance counter read code comes from a former diff of him.
OK jsg@
|
|
|
|
Problem spotted by and diff to fix this (and convert to km_alloc) from oga
ok deraadt@
|
|
When enabled SMAP will generate page faults on the kernel attempting
to read/write user data pages unless an override flag is set.
Instructions that modify the flag are patched into copyin/copyout and
friends on boot if SMAP is enabled.
Those with access to hardware with SMAP can contact me for a test case.
joint work with deraadt@
ok miod@ deraadt@
|
|
the code actually diffable. No binary change.
|
|
|
|
|
|
|
|
relocating use blocks that are a maximum of 32KB in size and increment the
segment registers after relocating each block. This keeps us within the
confines of the %cx register and the real mode segmented addressing.
|
|
|
|
|
|
relocating use blocks that are a maximum of 32KB in size and increment the
segment registers after relocating each block. This keeps us within the
confines of the %cx register and the real mode segmented addressing.
|
|
|
|
64KB segment at 0x7c00 and any additional 64KB segments over top of each
other at 0x10000.
|
|
hooks that are called from the normal code path. This allows softraid boot
support to be completely enabled or disabled at compile time. For boot(8)
all softraid boot support is now enabled by default, including support for
booting from crypto volumes. Disable softraid boot support for fdboot,
which further shrinks the binary.
|
|
|
|
progress.
|
|
handlers how hard they should hit the hardware.
|
|
but reserve everything above 36 bits so that the erroneous extent
allocation will fail but not panic the system. Fixes the notorious
IBM x3100 panic where one of the PCI BARs is programmed with an
incorrect 64 bit address.
Idea and OK kettenis@, tested by Walter Souza, thanks!
|
|
|
|
check-boot.pl so that it works with both boot and fdboot.
|