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/i386/include/signal.h | |
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/i386/include/signal.h')
-rw-r--r-- | sys/i386/include/signal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/signal.h b/sys/i386/include/signal.h index 29a9776..efc7ef0 100644 --- a/sys/i386/include/signal.h +++ b/sys/i386/include/signal.h @@ -119,7 +119,7 @@ struct sigcontext { int sc_efl; int sc_esp; int sc_ss; - int sc_len; /* sizeof(struct mcontext_t) */ + int sc_len; /* sizeof(mcontext_t) */ /* * XXX - See <machine/ucontext.h> and <machine/npx.h> for * the following fields. @@ -127,7 +127,7 @@ struct sigcontext { int sc_fpformat; int sc_ownedfp; int sc_spare1[1]; - int sc_fpregs[128]; + int sc_fpstate[128]; int sc_spare2[8]; }; |