diff options
author | deischen <deischen@FreeBSD.org> | 2002-11-16 06:35:53 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2002-11-16 06:35:53 +0000 |
commit | 31ea801074585bde84b74ea76bbedd715ad2f3a4 (patch) | |
tree | 7153d8e405a5cd14ef74512c9e674270132975b7 /sys/amd64/isa | |
parent | a858c2cb5c0438dd0886b2672ecba35cc82bf1dc (diff) | |
download | FreeBSD-src-31ea801074585bde84b74ea76bbedd715ad2f3a4.zip FreeBSD-src-31ea801074585bde84b74ea76bbedd715ad2f3a4.tar.gz |
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
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/npx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index 3395c99..661a698 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -161,14 +161,14 @@ void stop_emulating(void); typedef u_char bool_t; +static void fpusave(union savefpu *); +static void fpurstor(union savefpu *); static int npx_attach(device_t dev); static void npx_identify(driver_t *driver, device_t parent); #ifndef SMP static void npx_intr(void *); #endif static int npx_probe(device_t dev); -static void fpusave(union savefpu *); -static void fpurstor(union savefpu *); #ifdef I586_CPU_XXX static long timezero(const char *funcname, void (*func)(void *buf, size_t len)); |