/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/hooks.c,v 9.44 1992/02/08 14:54:04 cph Exp $
+$Id: hooks.c,v 9.45 1992/09/18 05:53:31 jinx Exp $
-Copyright (c) 1988-92 Massachusetts Institute of Technology
+Copyright (c) 1988-1992 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
} \
if (Consistency_Check && (Stack_Pointer != Stack_Top)) \
Microcode_Termination (TERM_BAD_STACK); \
+ STACK_RESET (); \
Will_Push (CONTINUATION_SIZE); \
Store_Return (RC_JOIN_STACKLETS); \
Store_Expression (target); \
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/stack.h,v 9.31 1992/07/29 19:54:55 cph Exp $
+$Id: stack.h,v 9.32 1992/09/18 05:53:14 jinx Exp $
-Copyright (c) 1987-92 Massachusetts Institute of Technology
+Copyright (c) 1987-1992 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
/* This file contains macros for manipulating stacks and stacklets. */
\f
+#ifdef DOS386
+
+extern void EXFUN (dos386_stack_reset, (void));
+#define STACK_RESET() dos386_stack_reset()
+
+#else
+
+#define STACK_RESET() do \
+{ \
+} while (0)
+
+#endif
+
#ifdef USE_STACKLETS
/*
Microcode_Termination (TERM_BAD_STACK); \
} \
} \
+ STACK_RESET (); \
if (!(From_Pop_Return)) \
{ \
Prev_Restore_History_Stacklet = NULL; \