summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-14 09:25:02 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-14 09:25:02 +0000
commit425838aa4b78c3fa9d43d75d85ebdc15f96f52d7 (patch)
treec96475fe61a3b11f029d6e63c214d4817a330164 /sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
parentfc093be16082b406ee160762d773a791a5b3b965 (diff)
Update.
2002-02-14 Ulrich Drepper <drepper@redhat.com> * stdlib/test-a64l.c (tests): Add more test cases. * sunrpc/rtime.c (rtime): Change type of thetime to uint32_t. Reported by Walter Harms <WHarms@bfs.de>. 2002-02-11 Jes Sorensen <jes@trained-monkey.org> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit definitions for struct sigcontext. Suggested by David Mosberger-Tang.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h b/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
index 8a87375e77..d67576f242 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
@@ -57,4 +57,13 @@ struct sigcontext
unsigned long int sc_mask; /* signal mask to restore after handler returns */
};
+/* sc_flag bit definitions. */
+#define IA64_SC_FLAG_ONSTACK_BIT 0 /* is handler running on signal stack? */
+#define IA64_SC_FLAG_IN_SYSCALL_BIT 1 /* did signal interrupt a syscall? */
+#define IA64_SC_FLAG_FPH_VALID_BIT 2 /* is state in f[32]-f[127] valid? */
+
+#define IA64_SC_FLAG_ONSTACK (1 << IA64_SC_FLAG_ONSTACK_BIT)
+#define IA64_SC_FLAG_IN_SYSCALL (1 << IA64_SC_FLAG_IN_SYSCALL_BIT)
+#define IA64_SC_FLAG_FPH_VALID (1 << IA64_SC_FLAG_FPH_VALID_BIT)
+
#endif /* _BITS_SIGCONTEXT_H */