summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/ucontext.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-11-09 18:25:50 +0000
committerkib <kib@FreeBSD.org>2011-11-09 18:25:50 +0000
commitd8e6287519c8ad4b3e126c50688fd7aad7619ec7 (patch)
tree9df9d526fd428af732255ea3ae227b02a0cb8aac /sys/i386/include/ucontext.h
parente7e8771098deec11557a45a473dc7f60ee16f0fc (diff)
downloadFreeBSD-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/ucontext.h')
-rw-r--r--sys/i386/include/ucontext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/ucontext.h b/sys/i386/include/ucontext.h
index d8657d3..d9f8344 100644
--- a/sys/i386/include/ucontext.h
+++ b/sys/i386/include/ucontext.h
@@ -33,9 +33,9 @@
typedef struct __mcontext {
/*
- * The first 20 fields must match the definition of
- * sigcontext. So that we can support sigcontext
- * and ucontext_t at the same time.
+ * The definition of mcontext_t shall match the layout of
+ * struct sigcontext after the sc_mask member. So that we can
+ * support sigcontext and ucontext_t at the same time.
*/
__register_t mc_onstack; /* XXX - sigcontext compat. */
__register_t mc_gs; /* machine state (struct trapframe) */
OpenPOWER on IntegriCloud