Age | Commit message (Collapse) | Author |
|
on a guess how much memory a typical machine has. If the value is
too high, users may run out of kernel memory. Then we will have
to adjust this again.
OK claudio@ deraadt@
|
|
ok deraadt@ yasuoka@ reyk@
|
|
ok natano@ krw@
|
|
this lets us define curcpu(), cpu_number(), etc as derefs of this
variable rather than having to write asm to copy it into another
register for the same derefs.
this provides shorter inlined code that wastes less registers.
ok kettenis@ who notes we use this these on other archs already
|
|
ok kettenis@
|
|
|
|
|
|
ok millert@ kettenis@
|
|
|
|
s/names are this level/names at this level/
from aalm@ - thanks
|
|
|
|
|
|
this also moves us toward having an MI splraise().
sparc64 (and sparc) are different to the other archs because they
have macros that build templates. each spl uses that macro to create
an instance of an inline function specific to that spl call.
this moves it to having a single splraise inline that the spl api is
defined with. eg, #define splfoo() _splraise(IPL_FOO).
ok kettenis@
|
|
|
|
theyre unused.
ok kettenis@
|
|
this is a step toward making ipls unconditionaly on pools.
ok deraadt@ kettenis@
|
|
suggested by mpi
|
|
ok millert
|
|
sigtramp page, so that it will generate a nice kernel fault if touched.
While here, move most of the sigtramps to the .rodata segment, because
they are not executed in the kernel.
Also some preparation for sliding the actual sigtramp forward (will need
some gdb changes)
ok mlarkin kettenis
|
|
|
|
a guest domain on a Fujitsu M10 work.
|
|
|
|
inside the sigcontext. sigreturn(2) checks syscall entry was from the
exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie,
and clears it to prevent sigcontext reuse.
not yet tested on landisk, sparc, *88k, socppc.
ok kettenis
|
|
engine that might attempt to read beyond the end of the buffer that was
programmed. The IOMMU catches this "DMA overrun" and throws an unrecoverable
error at us, at which point we have no choice but to panic. To avoid this
implement a BUS_DMA_OVERRUN flag that maps an additional scratch page at the
end of the vdma address range. DMA requests will spill over into this page,
which just returns zeroes.
Thanks to matthieu@ for giving me access to a machine with the problem.
ok deraadt@, beck@
|
|
actually use this in em(4) and xhci(4), but I'm not committing those yet
because we almost certainly need to save and restore the MSI-X registers
during suspend/resume. However, this allows mpi@ to play with multiple-vector
support in networking hardware.
Requested by mpi@
ok mlarkin@, mikeb@
|
|
cpu_boot_secondary_processors() break suspend/resume.
|
|
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@
|
|
|
|
|
|
|
|
|
|
reserved for .text and .rodata. Hopefully I can get rid of this limit soon.
propmpted by guenther@
|
|
|
|
spelled `depth ' with a trailing space.
From miod@
|
|
ok kettenis@
|
|
torture tested on amd64, i386 and macppc
ok beck mpi stefan
"the change looks right" deraadt
|
|
all the local ones to ``nticks''.
ok stefan@, deraadt@
|
|
Started by diff from Mical Mazurek.
|
|
ok beck@ deraadt@
|
|
ok mpi@
|
|
|
|
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@
|
|
|
|
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@
|
|
Makes softraid(4) boot possible on more sparc64 machines.
Tested on Sun Fire machines by mikeb@ and Alexander Bochmann via misc@
ok mikeb@
|
|
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
|
|
|
|
ok tb@
|
|
similar to config_defer(9).
ok mikeb@, deraadt@
|