freebsd-skq/sys/ia64/include
marcel 943e1b107a Reimplement the lazy FP context switching:
o   Move all code into a single file for easier maintenance.
o   Use a single global lock to avoid having to handle either
    multiple locks or race conditions.
o   Make sure to disable the high FP registers after saving
    or dropping them.
o   use msleep() to wait for the other CPU to save the high
    FP registers.

This change fixes the high FP inconsistency panics.

A single global lock typically serializes too much, which may
be noticable when a lot of threads use the high FP registers,
but in that case it's probably better to switch the high FP
context synchronuously. Put differently: cpu_switch() should
switch the high FP registers if the incoming and outgoing
threads both use the high FP registers.
2009-10-31 22:27:31 +00:00
..
pc
_align.h Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an 2009-09-08 20:45:40 +00:00
_bus.h
_inttypes.h
_limits.h
_regset.h
_stdint.h
_types.h
acpica_machdep.h Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
asm.h o Align function on a 32-byte boundary so that the core's front-end 2009-10-21 18:09:48 +00:00
atomic.h Define mb(), rmb() and wmb() for real. 2008-11-22 06:56:49 +00:00
bootinfo.h
bus_dma.h
bus.h
clock.h The "free-lance" timer in the i8254 is only used for the speaker 2008-03-26 20:09:21 +00:00
cpu.h
cpufunc.h Work around a firmware bug in the HP rx2660, where in ACPI an I/O port 2007-06-10 16:53:01 +00:00
db_machdep.h
dig64.h
efi.h
elf.h Define architectural load bases for PIE binaries. Addresses were selected 2009-10-10 15:31:24 +00:00
endian.h
exec.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
float.h
floatingpoint.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
fpu.h
frame.h
gdb_machdep.h
ia64_cpu.h Add inline function ia64_fc_i() to abstract inline assembly. 2008-07-07 17:43:56 +00:00
ieee.h
ieeefp.h
in_cksum.h
intr.h Rework the interrupt code and add support for interrupt filtering 2007-07-30 22:29:33 +00:00
intrcnt.h
kdb.h Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
limits.h
mca.h Tweak the ia64 machine check handling code to not register new sysctl nodes 2009-02-04 18:44:29 +00:00
md_var.h Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
memdev.h Remove the unused major/minor numbers from iodev and memdev. 2008-06-25 07:45:31 +00:00
mutex.h
nexusvar.h
pal.h
param.h A 32KB kernel stack is not quite enough. The new USB stack is a bit 2009-10-24 20:28:42 +00:00
pcb.h
pci_cfgreg.h
pcpu.h Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports 2008-08-19 19:53:52 +00:00
pmap.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
pmc_mdep.h Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
proc.h Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
profile.h
pte.h
ptrace.h
reg.h
reloc.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
resource.h
runq.h
sal.h
sapicreg.h
sapicvar.h Rework the interrupt code and add support for interrupt filtering 2007-07-30 22:29:33 +00:00
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h * Completely Remove the option STOP_NMI from the kernel. This option 2009-08-13 17:09:45 +00:00
stdarg.h Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
sysarch.h
ucontext.h Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
unwind.h
varargs.h
vm.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
vmparam.h Remove cruft we got from Alpha, which was probably inherited 2008-04-18 02:21:11 +00:00