freebsd-nq/sys/amd64/amd64
Daniel Eischen 2be05b70c9 Add getcontext, setcontext, and swapcontext as system calls.
Previously these were libc functions but were requested to
be made into system calls for atomicity and to coalesce what
might be two entrances into the kernel (signal mask setting
and floating point trap) into one.

A few style nits and comments from bde are also included.

Tested on alpha by: gallatin
2002-11-16 06:35:53 +00:00
..
amd64_mem.c Loader tunable 'machdep.disable_mtrrs'. 2002-11-13 09:37:43 +00:00
amd64-gdbstub.c Backed out the main part of revs.1.14-16. Don't disable interrupts in 2002-01-30 18:51:24 +00:00
apic_vector.S Ok, somebody please shoot me. The asm I wrote for the ranged IPI shootdown 2002-08-23 21:45:59 +00:00
atomic.c
autoconf.c Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c 2002-09-22 00:59:02 +00:00
bios.c use __packed. 2002-09-23 18:54:32 +00:00
busdma_machdep.c New bus_dma interfaces for use by crypto device drivers: 2002-10-04 20:40:39 +00:00
cpu_switch.S Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat 2002-07-21 05:22:16 +00:00
critical.c Remove the critmode sysctl - the new method for critical_enter/exit (already 2002-07-10 20:15:58 +00:00
db_disasm.c Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-23 14:27:06 +00:00
db_interface.c Code tidy-up. ISOfy, turn a macro into an inline for lint(1) (perhaps 2002-09-21 18:53:58 +00:00
db_trace.c Change the definition of the debugging registers to be an array, so 2002-10-20 20:48:56 +00:00
dump_machdep.c Unbreak kernel build by printing Maxmem using %ld instead of old (now changed) 2002-08-30 06:13:39 +00:00
elf_machdep.c Add two hooks to signal module load and module unload to MD code. 2002-10-19 19:16:03 +00:00
exception.s 1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code, 2002-11-07 01:34:23 +00:00
exception.S 1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code, 2002-11-07 01:34:23 +00:00
fpu.c Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
genassym.c 1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code, 2002-11-07 01:34:23 +00:00
identcpu.c Change the support for AMDs ElanSC520 CPU from being a device driver to 2002-09-04 19:43:22 +00:00
in_cksum.c In in_cksumdata, len must be a signed type. 2001-10-05 18:58:22 +00:00
initcpu.c Be consistent about functions being static. 2002-10-16 08:57:14 +00:00
legacy.c - Give legacy an identify routine that always adds 'legacy0' at an order 2002-09-30 18:47:11 +00:00
locore.s Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
locore.S Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
machdep.c Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
mem.c Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
mp_machdep.c Be consistent about functions being static. 2002-10-16 08:57:14 +00:00
mpboot.S Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
mptable.c Be consistent about functions being static. 2002-10-16 08:57:14 +00:00
nexus.c - Give legacy an identify routine that always adds 'legacy0' at an order 2002-09-30 18:47:11 +00:00
pmap.c Move pmap_collect() out of the machine-dependent code, rename it 2002-11-13 05:39:58 +00:00
prof_machdep.c Quick fix for high resolution kernel profiling on i386's. Use 2002-07-13 22:28:34 +00:00
support.s Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than 2002-09-22 04:45:21 +00:00
support.S Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than 2002-09-22 04:45:21 +00:00
swtch.s Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat 2002-07-21 05:22:16 +00:00
sys_machdep.c Fix a bogon in previous commit. bcopy() from the malloc'd memory that we 2002-10-04 20:19:36 +00:00
trap.c 1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code, 2002-11-07 01:34:23 +00:00
tsc.c 1. Fix a comment. Locking _is_ needed (but not done). 2002-10-17 13:55:39 +00:00
vm_machdep.c Round out the facilty for a 'bound' thread to loan out its KSE 2002-10-09 02:33:36 +00:00