From 95aaa8a7c591f4e73f436e907e92059c8690c68b Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Mon, 8 Oct 2001 22:50:24 +0000 Subject: [PATCH] * continuations.h: support ia64 register backing store. (struct scm_t_contregs): add ia64 register backing store. --- libguile/continuations.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libguile/continuations.h b/libguile/continuations.h index 9edfe1a7d..f43b9e2e0 100644 --- a/libguile/continuations.h +++ b/libguile/continuations.h @@ -45,6 +45,10 @@ #include "libguile/__scm.h" +#ifdef __ia64__ +#include +extern unsigned long __libc_ia64_register_backing_store_base; +#endif /* a continuation SCM is a non-immediate pointing to a heap cell with: @@ -62,6 +66,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. */