/*
 * This is a machine-generated file. Please do not edit it by hand.
 *
 * This file contains low-level information about the
 * internals of a particular version and configuration
 * of SBCL. It is used by the C compiler to create a runtime
 * support environment, an executable program in the host
 * operating system's native format, which can then be used to
 * load and run 'core' files, which are basically programs
 * in SBCL's own format.
 */
#ifndef SBCL_GENESIS_SBCL
#define SBCL_GENESIS_SBCL
#define HAVE_GC_STW_SIGNAL 1
#define THREADS_USING_GCSIGNAL 1
#define GENCGC_IS_PRECISE 0
#define LISP_FEATURE_ALIEN_CALLBACKS
#define LISP_FEATURE_ANSI_CL
#define LISP_FEATURE_ANSI_COMPLIANT_LOAD_TRUENAME
#define LISP_FEATURE_COMMON_LISP
#define LISP_FEATURE_COMPARE_AND_SWAP_VOPS
#define LISP_FEATURE_CYCLE_COUNTER
#define LISP_FEATURE_C_STACK_IS_CONTROL_STACK
#define LISP_FEATURE_ELF
#define LISP_FEATURE_FP_AND_PC_STANDARD_SAVE
#define LISP_FEATURE_GCC_TLS
#define LISP_FEATURE_GENCGC
#define LISP_FEATURE_GENERATIONAL
#define LISP_FEATURE_IEEE_FLOATING_POINT
#define LISP_FEATURE_LARGEFILE
#define LISP_FEATURE_LINUX
#define LISP_FEATURE_LITTLE_ENDIAN
#define LISP_FEATURE_OS_PROVIDES_BLKSIZE_T
#define LISP_FEATURE_OS_PROVIDES_CLOCK_GETTIME
#define LISP_FEATURE_OS_PROVIDES_CLOSE_RANGE_WRAPPER
#define LISP_FEATURE_OS_PROVIDES_DLADDR
#define LISP_FEATURE_OS_PROVIDES_DLOPEN
#define LISP_FEATURE_OS_PROVIDES_GETPROTOBY_R
#define LISP_FEATURE_OS_PROVIDES_POLL
#define LISP_FEATURE_OS_PROVIDES_POSIX_SPAWN
#define LISP_FEATURE_OS_PROVIDES_SUSECONDS_T
#define LISP_FEATURE_PACKAGE_LOCAL_NICKNAMES
#define LISP_FEATURE_SBCL
#define LISP_FEATURE_SB_AFTER_XC_CORE
#define LISP_FEATURE_SB_CORE_COMPRESSION
#define LISP_FEATURE_SB_DOC
#define LISP_FEATURE_SB_EVAL
#define LISP_FEATURE_SB_FUTEX
#define LISP_FEATURE_SB_LDB
#define LISP_FEATURE_SB_PACKAGE_LOCKS
#define LISP_FEATURE_SB_SOURCE_LOCATIONS
#define LISP_FEATURE_SB_THREAD
#define LISP_FEATURE_SB_UNICODE
#define LISP_FEATURE_SB_XREF_FOR_INTERNALS
#define LISP_FEATURE_STACK_GROWS_DOWNWARD_NOT_UPWARD
#define LISP_FEATURE_UNIX
#define LISP_FEATURE_UNWIND_TO_FRAME_AND_CALL_VOP
#define LISP_FEATURE_USE_SYS_MMAP
#define LISP_FEATURE_X86

#define SBCL_TARGET_ARCHITECTURE_STRING "x86"
#define SBCL_VERSION_STRING "2.5.8"
#define CORE_MAGIC 0x5342434C
#ifndef __ASSEMBLER__

#define LISPOBJ(x) ((lispobj)x)

#else /* __ASSEMBLER__ */

#define LISPOBJ(thing) thing

#endif /* __ASSEMBLER__ */


#define N_FIXNUM_TAG_BITS 2 /* 0x2 */
#define FIXNUM_TAG_MASK 3 /* 0x3 */
#define N_LOWTAG_BITS 3 /* 0x3 */
#define N_WORD_BYTES 4 /* 0x4 */
#define DSD_RAW_TYPE_MASK 7 /* 0x7 */
#define LOWTAG_MASK 7 /* 0x7 */
#define ARRAY_RANK_POSITION 8 /* 0x8 */
#define N_WIDETAG_BITS 8 /* 0x8 */
#define NIL_VALUE_OFFSET 11 /* 0xB */
#define ARRAY_FLAGS_POSITION 16 /* 0x10 */
#define N_WORD_BITS 32 /* 0x20 */
#define WIDETAG_MASK 255 /* 0xFF */
#define INSTANCE_LENGTH_MASK 16383 /* 0x3FFF */
#define SHORT_HEADER_MAX_WORDS 32767 /* 0x7FFF */
#define MAXIMUM_BIGNUM_LENGTH 8388607 /* 0x7FFFFF */

#define EVEN_FIXNUM_LOWTAG 0 /* 0x0 */
#define INSTANCE_POINTER_LOWTAG 1 /* 0x1 */
#define OTHER_IMMEDIATE_0_LOWTAG 2 /* 0x2 */
#define LIST_POINTER_LOWTAG 3 /* 0x3 */
#define ODD_FIXNUM_LOWTAG 4 /* 0x4 */
#define FUN_POINTER_LOWTAG 5 /* 0x5 */
#define OTHER_IMMEDIATE_1_LOWTAG 6 /* 0x6 */
#define OTHER_POINTER_LOWTAG 7 /* 0x7 */

#define PACKED_DEBUG_FUN_ARG_DELETED 0 /* 0x0 */
#define PACKED_DEBUG_FUN_RETURNS_STANDARD 0 /* 0x0 */
#define PACKED_DEBUG_FUN_ARG_SUPPLIED_P 1 /* 0x1 */
#define PACKED_DEBUG_FUN_RETURNS_SPECIFIED 1 /* 0x1 */
#define PACKED_DEBUG_FUN_VARIABLES_BIT 1 /* 0x1 */
#define PACKED_DEBUG_FUN_ARG_OPTIONAL 2 /* 0x2 */
#define PACKED_DEBUG_FUN_BLOCKS_BIT 2 /* 0x2 */
#define PACKED_DEBUG_FUN_RETURNS_FIXED 2 /* 0x2 */
#define PACKED_DEBUG_FUN_ARG_REST 3 /* 0x3 */
#define PACKED_DEBUG_FUN_ARG_MORE 4 /* 0x4 */
#define PACKED_DEBUG_FUN_NON_MINIMAL_ARGUMENTS_BIT 4 /* 0x4 */
#define PACKED_DEBUG_FUN_KEY_ARG_KEYWORD 5 /* 0x5 */
#define PACKED_DEBUG_FUN_KEY_ARG_PACKAGED 6 /* 0x6 */
#define PACKED_DEBUG_FUN_KEY_ARG_UNINTERNED 7 /* 0x7 */
#define PACKED_DEBUG_FUN_ARG_INDEX_OFFSET 8 /* 0x8 */
#define PACKED_DEBUG_FUN_TLF_NUMBER_BIT 8 /* 0x8 */
#define PACKED_DEBUG_FUN_CLOSURE_SAVE_LOC_BIT 16 /* 0x10 */
#define PACKED_DEBUG_FUN_BSP_SAVE_LOC_BIT 32 /* 0x20 */
#define PACKED_DEBUG_FUN_PREVIOUS_NAME 64 /* 0x40 */

#define WORD_SHIFT 2 /* 0x2 */
#define CODE_HEADER_SIZE_SHIFT 8 /* 0x8 */
#define DSD_INDEX_SHIFT 8 /* 0x8 */
#define BIGNUM_WIDETAG 10 /* 0xA */
#define INSTANCE_LENGTH_SHIFT 10 /* 0xA */
#define RATIO_WIDETAG 14 /* 0xE */
#define SINGLE_FLOAT_WIDETAG 18 /* 0x12 */
#define DOUBLE_FLOAT_WIDETAG 22 /* 0x16 */
#define COMPLEX_RATIONAL_WIDETAG 26 /* 0x1A */
#define COMPLEX_SINGLE_FLOAT_WIDETAG 30 /* 0x1E */
#define FLOAT_SIGN_SHIFT 31 /* 0x1F */
#define COMPLEX_DOUBLE_FLOAT_WIDETAG 34 /* 0x22 */
#define SYMBOL_WIDETAG 38 /* 0x26 */
#define SAP_WIDETAG 42 /* 0x2A */
#define CODE_HEADER_WIDETAG 46 /* 0x2E */
#define INSTANCE_WIDETAG 50 /* 0x32 */
#define FUNCALLABLE_INSTANCE_WIDETAG 54 /* 0x36 */
#define SIMPLE_FUN_WIDETAG 58 /* 0x3A */
#define CLOSURE_WIDETAG 62 /* 0x3E */
#define VALUE_CELL_WIDETAG 70 /* 0x46 */
#define CHARACTER_WIDETAG 74 /* 0x4A */
#define UNBOUND_MARKER_WIDETAG 78 /* 0x4E */
#define WEAK_POINTER_WIDETAG 82 /* 0x52 */
#define FDEFN_WIDETAG 86 /* 0x56 */
#define FILLER_WIDETAG 102 /* 0x66 */
#define SIMPLE_ARRAY_WIDETAG 130 /* 0x82 */
#define SIMPLE_ARRAY_NIL_WIDETAG 134 /* 0x86 */
#define SIMPLE_VECTOR_WIDETAG 138 /* 0x8A */
#define SIMPLE_BIT_VECTOR_WIDETAG 142 /* 0x8E */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_2_WIDETAG 146 /* 0x92 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_4_WIDETAG 150 /* 0x96 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_7_WIDETAG 154 /* 0x9A */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_8_WIDETAG 158 /* 0x9E */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_15_WIDETAG 162 /* 0xA2 */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_16_WIDETAG 166 /* 0xA6 */
#define SIMPLE_ARRAY_UNSIGNED_FIXNUM_WIDETAG 170 /* 0xAA */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_31_WIDETAG 174 /* 0xAE */
#define SIMPLE_ARRAY_UNSIGNED_BYTE_32_WIDETAG 178 /* 0xB2 */
#define SIMPLE_ARRAY_SIGNED_BYTE_8_WIDETAG 182 /* 0xB6 */
#define SIMPLE_ARRAY_SIGNED_BYTE_16_WIDETAG 186 /* 0xBA */
#define SIMPLE_ARRAY_FIXNUM_WIDETAG 190 /* 0xBE */
#define SIMPLE_ARRAY_SIGNED_BYTE_32_WIDETAG 194 /* 0xC2 */
#define SIMPLE_ARRAY_SINGLE_FLOAT_WIDETAG 198 /* 0xC6 */
#define SIMPLE_ARRAY_DOUBLE_FLOAT_WIDETAG 202 /* 0xCA */
#define SIMPLE_ARRAY_COMPLEX_SINGLE_FLOAT_WIDETAG 206 /* 0xCE */
#define SIMPLE_ARRAY_COMPLEX_DOUBLE_FLOAT_WIDETAG 210 /* 0xD2 */
#define SIMPLE_BASE_STRING_WIDETAG 214 /* 0xD6 */
#define SIMPLE_CHARACTER_STRING_WIDETAG 218 /* 0xDA */
#define COMPLEX_BASE_STRING_WIDETAG 222 /* 0xDE */
#define COMPLEX_CHARACTER_STRING_WIDETAG 226 /* 0xE2 */
#define COMPLEX_BIT_VECTOR_WIDETAG 230 /* 0xE6 */
#define COMPLEX_VECTOR_WIDETAG 234 /* 0xEA */
#define COMPLEX_ARRAY_WIDETAG 238 /* 0xEE */
#ifdef RETURN_PC_WIDETAG
#define embedded_obj_p(tag) (tag==RETURN_PC_WIDETAG || tag==SIMPLE_FUN_WIDETAG)
#else
#define embedded_obj_p(tag) (tag==SIMPLE_FUN_WIDETAG)
#endif

#define PACKAGE_ID_NONE 0 /* 0x0 */
#define PACKAGE_ID_KEYWORD 1 /* 0x1 */
#define PACKAGE_ID_LISP 2 /* 0x2 */
#define PACKAGE_ID_USER 3 /* 0x3 */
#define PACKAGE_ID_SB_KERNEL 4 /* 0x4 */
#define PACKAGE_ID_SB_EXT 5 /* 0x5 */
#define PACKAGE_ID_SB_INT 6 /* 0x6 */

#define flag_VectorWeak 1 /* 0x1 */
#define flag_VectorAddrHashing 2 /* 0x2 */
#define flag_VectorHashing 4 /* 0x4 */
#define flag_DeflatedCoreSpaceId 8 /* 0x8 */
#define flag_StableHashRequired 8 /* 0x8 */
#define flag_HashSlotPresent 9 /* 0x9 */

#define trap_Halt 8 /* 0x8 */
#define trap_PendingInterrupt 9 /* 0x9 */
#define trap_Cerror 10 /* 0xA */
#define trap_Breakpoint 11 /* 0xB */
#define trap_FunEndBreakpoint 12 /* 0xC */
#define trap_SingleStepAround 13 /* 0xD */
#define trap_SingleStepBefore 14 /* 0xE */
#define trap_MemoryFaultEmulation 15 /* 0xF */
#define trap_Error 16 /* 0x10 */

#define VECTOR_SHAREABLE_NONSTD 16 /* 0x10 */
#define VECTOR_SHAREABLE 32 /* 0x20 */

#define sc_DescriptorReg 0 /* 0x0 */
#define sc_AnyReg 1 /* 0x1 */
#define sc_SignedReg 2 /* 0x2 */
#define sc_Constant 3 /* 0x3 */
#define sc_FpConstant 4 /* 0x4 */
#define sc_Immediate 7 /* 0x7 */
#define sc_ControlStack 8 /* 0x8 */
#define sc_SignedStack 9 /* 0x9 */
#define sc_UnsignedStack 10 /* 0xA */
#define sc_CharacterStack 11 /* 0xB */
#define sc_SapStack 12 /* 0xC */
#define sc_SingleStack 13 /* 0xD */
#define sc_DoubleStack 14 /* 0xE */
#define sc_ComplexSingleStack 15 /* 0xF */
#define sc_ComplexDoubleStack 16 /* 0x10 */
#define sc_CharacterReg 17 /* 0x11 */
#define sc_SapReg 18 /* 0x12 */
#define sc_UnsignedReg 19 /* 0x13 */
#define sc_WordReg 20 /* 0x14 */
#define sc_SingleReg 22 /* 0x16 */
#define sc_DoubleReg 23 /* 0x17 */
#define sc_ComplexSingleReg 24 /* 0x18 */
#define sc_ComplexDoubleReg 25 /* 0x19 */
#define sc_CatchBlock 26 /* 0x1A */

#define BINDING_SIZE 2 /* 0x2 */
#define CONS_SIZE 2 /* 0x2 */
#define SAP_SIZE 2 /* 0x2 */
#define SINGLE_FLOAT_SIZE 2 /* 0x2 */
#define VALUE_CELL_SIZE 2 /* 0x2 */
#define COMPLEX_SINGLE_FLOAT_SIZE 3 /* 0x3 */
#define COMPLEX_SIZE 3 /* 0x3 */
#define RATIO_SIZE 3 /* 0x3 */
#define UNWIND_BLOCK_SIZE 3 /* 0x3 */
#define WEAK_POINTER_SIZE 3 /* 0x3 */
#define DOUBLE_FLOAT_SIZE 4 /* 0x4 */
#define FDEFN_SIZE 4 /* 0x4 */
#define CATCH_BLOCK_SIZE 5 /* 0x5 */
#define COMPLEX_DOUBLE_FLOAT_SIZE 6 /* 0x6 */
#define ALIEN_LINKAGE_TABLE_ENTRY_SIZE 8 /* 0x8 */
#define MAX_INTERRUPTS 8 /* 0x8 */
#define SYMBOL_SIZE 8 /* 0x8 */
#define LARGE_OBJECT_SIZE 16384 /* 0x4000 */
#define ALIEN_LINKAGE_SPACE_SIZE 1048576 /* 0x100000 */
#define STATIC_SPACE_SIZE 1048576 /* 0x100000 */

#define GENCGC_ALLOC_GRANULARITY 0LU /* 0x0 */
#define INSTANCE_DATA_START 1LU /* 0x1 */
#define NIL_SYMBOL_SLOTS_OFFSET 4LU /* 0x4 */
#define STATIC_SPACE_OBJECTS_OFFSET 40LU /* 0x28 */
#define STRICTLY_BOXED_FLAG 512LU /* 0x200 */
#define GENCGC_CARD_BYTES 4096LU /* 0x1000 */
#define GENCGC_PAGE_BYTES 4096LU /* 0x1000 */
#define ALIEN_LINKAGE_SPACE_START 16777216LU /* 0x1000000 */
#define STATIC_SPACE_START 17825792LU /* 0x1100000 */
#define VECTOR_ALLOC_MIXED_REGION_BIT 268435456LU /* 0x10000000 */
#define MAGIC_HASH_VECTOR_VALUE 4026531839LU /* 0xEFFFFFFF */

#define END_CORE_ENTRY_TYPE_CODE 3840 /* 0xF00 */
#define BUILD_ID_CORE_ENTRY_TYPE_CODE 3860 /* 0xF14 */
#define DIRECTORY_CORE_ENTRY_TYPE_CODE 3861 /* 0xF15 */
#define INITIAL_FUN_CORE_ENTRY_TYPE_CODE 3863 /* 0xF17 */
#define PAGE_TABLE_CORE_ENTRY_TYPE_CODE 3880 /* 0xF28 */
#define ALIEN_LINKAGE_TABLE_CORE_ENTRY_TYPE_CODE 3881 /* 0xF29 */
#define LISP_LINKAGE_SPACE_CORE_ENTRY_TYPE_CODE 3882 /* 0xF2A */
#define STATIC_CONSTANTS_CORE_ENTRY_TYPE_CODE 3883 /* 0xF2B */

#define DYNAMIC_CORE_SPACE_ID 1 /* 0x1 */
#define STATIC_CORE_SPACE_ID 2 /* 0x2 */
#define READ_ONLY_CORE_SPACE_ID 3 /* 0x3 */
#define IMMOBILE_FIXEDOBJ_CORE_SPACE_ID 4 /* 0x4 */
#define STATIC_CODE_CORE_SPACE_ID 4 /* 0x4 */
#define IMMOBILE_TEXT_CORE_SPACE_ID 5 /* 0x5 */
#define PERMGEN_CORE_SPACE_ID 6 /* 0x6 */
#define DEFLATED_CORE_SPACE_ID_FLAG 8 /* 0x8 */
#define ALIEN_LINKAGE_TABLE_CORE_SPACE_ID 101 /* 0x65 */
#define THREAD_STRUCT_CORE_SPACE_ID 102 /* 0x66 */

#define HIGHEST_NORMAL_GENERATION 5 /* 0x5 */
#define PSEUDO_STATIC_GENERATION 6 /* 0x6 */

#define BACKEND_PAGE_BYTES 4096
#define MAX_CONSES_PER_PAGE 511
#define GC_STRATEGY_ID 1
#define GENCGC_PAGE_SHIFT 12
#define GENCGC_CARD_SHIFT 12
#define CARDS_PER_PAGE 1
#ifndef DEFAULT_DYNAMIC_SPACE_SIZE
#define DEFAULT_DYNAMIC_SPACE_SIZE 536870912 /* 0x20000000 */
#endif

#define UNKNOWN_ERROR 0
#define UNDEFINED_FUN_ERROR 1
#define UNINITIALIZED_MEMORY_ERROR 2
#define INVALID_ARG_COUNT_ERROR 3
#define LOCAL_INVALID_ARG_COUNT_ERROR 4
#define BOGUS_ARG_TO_VALUES_LIST_ERROR 5
#define UNBOUND_SYMBOL_ERROR 6
#define INVALID_UNWIND_ERROR 7
#define UNSEEN_THROW_TAG_ERROR 8
#define DIVISION_BY_ZERO_ERROR 9
#define OBJECT_NOT_TYPE_ERROR 10
#define CHECK_TYPE_ERROR 11
#define ECASE_FAILURE_ERROR 12
#define ETYPECASE_FAILURE_ERROR 13
#define ODD_KEY_ARGS_ERROR 14
#define UNKNOWN_KEY_ARG_ERROR 15
#define INVALID_ARRAY_INDEX_ERROR 16
#define INVALID_VECTOR_INDEX_ERROR 17
#define UNINITIALIZED_ELEMENT_ERROR 18
#define NIL_FUN_RETURNED_ERROR 19
#define NIL_ARRAY_ACCESSED_ERROR 20
#define LAYOUT_INVALID_ERROR 21
#define TLS_EXHAUSTED_ERROR 22
#define STACK_ALLOCATED_OBJECT_OVERFLOWS_STACK_ERROR 23
#define UNREACHABLE_ERROR 24
#define FAILED_AVER_ERROR 25
#define MUL_OVERFLOW_ERROR 26
#define ADD_SUB_OVERFLOW_ERROR 27
#define SIGNED_UNSIGNED_ADD_OVERFLOW_ERROR 28
#define ADD_OVERFLOW2_ERROR 29
#define SUB_OVERFLOW2_ERROR 30
#define MUL_OVERFLOW2_ERROR 31
#define ASH_OVERFLOW2_ERROR 32
#define NEGATE_OVERFLOW_ERROR 33
#define FILL_POINTER_ERROR 34
#define MPRINT_ERROR 35
#define OP_NOT_TYPE2_ERROR 36

#define FLOAT_TRAPS_BYTE_POSITION 0 /* 0x0 */
#define FLOAT_TRAPS_BYTE_MASK 0x3F /* 63 */
#define FLOAT_EXCEPTIONS_BYTE_POSITION 16 /* 0x10 */
#define FLOAT_EXCEPTIONS_BYTE_MASK 0x3F0000 /* 4128768 */
#define FLOAT_STICKY_BITS_POSITION 16 /* 0x10 */
#define FLOAT_STICKY_BITS_MASK 0x3F0000 /* 4128768 */
#define FLOAT_ROUNDING_MODE_POSITION 10 /* 0xA */
#define FLOAT_ROUNDING_MODE_MASK 0xC00 /* 3072 */
#define PACKED_DEBUG_FUN_RETURNS_BYTE_POSITION 5 /* 0x5 */
#define PACKED_DEBUG_FUN_RETURNS_BYTE_MASK 0x60 /* 96 */
#endif
