diff options
author | kib <kib@FreeBSD.org> | 2011-11-09 18:25:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-11-09 18:25:50 +0000 |
commit | d8e6287519c8ad4b3e126c50688fd7aad7619ec7 (patch) | |
tree | 9df9d526fd428af732255ea3ae227b02a0cb8aac /sys/i386/include/signal.h | |
parent | e7e8771098deec11557a45a473dc7f60ee16f0fc (diff) | |
download | FreeBSD-src-d8e6287519c8ad4b3e126c50688fd7aad7619ec7.zip FreeBSD-src-d8e6287519c8ad4b3e126c50688fd7aad7619ec7.tar.gz |
Attempt to improve formatting and content of several comments for
amd64 and i386 MD code.
Based on suggestions by: bde
MFC after: 1 week
Diffstat (limited to 'sys/i386/include/signal.h')
-rw-r--r-- | sys/i386/include/signal.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/i386/include/signal.h b/sys/i386/include/signal.h index 7a5f876..c636c2c 100644 --- a/sys/i386/include/signal.h +++ b/sys/i386/include/signal.h @@ -46,16 +46,17 @@ typedef int sig_atomic_t; #include <machine/trap.h> /* codes for SIGILL, SIGFPE */ /* - * Only the kernel should need these old type definitions. - */ -#if defined(_KERNEL) && defined(COMPAT_43) -/* * Information pushed on stack when a signal is delivered. * This is used by the kernel to restore state following * execution of the signal handler. It is also made available * to the handler to allow it to restore state properly if * a non-standard exit is performed. */ + +#if defined(_KERNEL) && defined(COMPAT_43) +/* + * Only the kernel should need these old type definitions. + */ struct osigcontext { int sc_onstack; /* sigstack state to restore */ osigset_t sc_mask; /* signal mask to restore */ @@ -83,7 +84,7 @@ struct osigcontext { /* * The sequence of the fields/registers in struct sigcontext should match - * those in mcontext_t. + * those in mcontext_t and struct trapframe. */ struct sigcontext { struct __sigset sc_mask; /* signal mask to restore */ @@ -109,8 +110,8 @@ struct sigcontext { int sc_ss; int sc_len; /* sizeof(mcontext_t) */ /* - * XXX - See <machine/ucontext.h> and <machine/npx.h> for - * the following fields. + * See <machine/ucontext.h> and <machine/npx.h> for + * the following fields. */ int sc_fpformat; int sc_ownedfp; |