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.
22 int foreign_function_call_active;
24 lispobj *current_control_stack_pointer;
25 lispobj *current_control_frame_pointer;
26 #ifndef BINDING_STACK_POINTER
27 lispobj *current_binding_stack_pointer;
30 #ifndef ALLOCATION_POINTER
31 lispobj *dynamic_space_free_pointer;
33 #ifndef INTERNAL_GC_TRIGGER
34 lispobj *current_auto_gc_trigger;
37 void globals_init(void)
39 /* Space, stack, and free pointer vars are initialized by
40 * validate() and coreparse(). */
42 #ifndef INTERNAL_GC_TRIGGER
43 /* no GC trigger yet */
44 current_auto_gc_trigger = NULL;
47 /* Set foreign function call active. */
48 foreign_function_call_active = 1;
50 /* Initialize the current Lisp state. */
52 current_control_stack_pointer = (lispobj *)CONTROL_STACK_START;
54 current_control_stack_pointer = (lispobj *)CONTROL_STACK_END;
57 current_control_frame_pointer = (lispobj *)0;
58 #ifndef BINDING_STACK_POINTER
59 current_binding_stack_pointer = BINDING_STACK_START;