2 * variables everybody needs to look at or frob on
6 * This software is part of the SBCL system. See the README file for
9 * This software is derived from the CMU CL system, which was
10 * written at Carnegie Mellon University and released into the
11 * public domain. The software is in the public domain and is
12 * provided with absolutely no warranty. See the COPYING and CREDITS
13 * files for more information.
26 int foreign_function_call_active;
28 lispobj *current_control_stack_pointer;
29 lispobj *current_control_frame_pointer;
30 #ifndef BINDING_STACK_POINTER
31 lispobj *current_binding_stack_pointer;
34 #ifndef ALLOCATION_POINTER
35 lispobj *dynamic_space_free_pointer;
37 #ifndef INTERNAL_GC_TRIGGER
38 lispobj *current_auto_gc_trigger;
41 void globals_init(void)
43 /* Space, stack, and free pointer vars are initialized by
44 * validate() and coreparse(). */
46 #ifndef INTERNAL_GC_TRIGGER
47 /* no GC trigger yet */
48 current_auto_gc_trigger = NULL;
51 /* Set foreign function call active. */
52 foreign_function_call_active = 1;
54 /* Initialize the current Lisp state. */
56 current_control_stack_pointer = (lispobj *)CONTROL_STACK_START;
58 current_control_stack_pointer = (lispobj *)CONTROL_STACK_END;
61 current_control_frame_pointer = (lispobj *)0;
62 #ifndef BINDING_STACK_POINTER
63 current_binding_stack_pointer = BINDING_STACK_START;