summaryrefslogtreecommitdiff
path: root/libguile/continuations.h
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2001-10-09 03:33:06 +0000
committerRob Browning <rlb@defaultvalue.org>2001-10-09 03:33:06 +0000
commit766c5eaf49da2d1fd1027870a62cb4c3b5ea2f41 (patch)
tree767f498a6e65001bd2da078ec1c86f9256645e40 /libguile/continuations.h
parent193297d8b5e46d3077059587190b33a8651cb752 (diff)
downloadguile-766c5eaf49da2d1fd1027870a62cb4c3b5ea2f41.tar.gz
* continuations.h: support ia64 register backing store.
(struct scm_t_contregs): add ia64 register backing store.
Diffstat (limited to 'libguile/continuations.h')
-rw-r--r--libguile/continuations.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libguile/continuations.h b/libguile/continuations.h
index 21616173c..4a0c55ca1 100644
--- a/libguile/continuations.h
+++ b/libguile/continuations.h
@@ -48,6 +48,10 @@
#include "libguile/__scm.h"
+#ifdef __ia64__
+#include <sys/ucontext.h>
+extern unsigned long __libc_ia64_register_backing_store_base;
+#endif
/* a continuation SCM is a non-immediate pointing to a heap cell with:
@@ -65,6 +69,11 @@ typedef struct
SCM throw_value;
jmp_buf jmpbuf;
SCM dynenv;
+#ifdef __ia64__
+ ucontext_t ctx;
+ void *backing_store;
+ unsigned long backing_store_size;
+#endif /* __ia64__ */
SCM_STACKITEM *base; /* base of the live stack, before it was saved. */
size_t num_stack_items; /* size of the saved stack. */
unsigned long seq; /* dynamic root identifier. */