/* -*-C-*-
-$Id: dump.c,v 9.38 1993/11/04 19:33:13 gjr Exp $
+$Id: dump.c,v 9.39 1993/11/08 06:34:18 gjr Exp $
Copyright (c) 1987-1993 Massachusetts Institute of Technology
Buffer[FASL_Offset_C_Size] =
MAKE_OBJECT (TC_BROKEN_HEART, c_table_size);
+#ifdef HEAP_IN_LOW_MEMORY
+ Buffer[FASL_Offset_Mem_Base] = ((SCHEME_OBJECT) 0);
+#else /* not HEAP_IN_LOW_MEMORY */
+ Buffer[FASL_Offset_Mem_Base] = ((SCHEME_OBJECT) memory_base);
+#endif /* HEAP_IN_LOW_MEMORY */
+
Buffer[FASL_Offset_Check_Sum] = SHARP_F;
for (i = FASL_Offset_First_Free; i < FASL_HEADER_LENGTH; i++)
Buffer[i] = SHARP_F;
/* -*-C-*-
-$Id: fasl.h,v 9.34 1993/11/04 04:02:49 gjr Exp $
+$Id: fasl.h,v 9.35 1993/11/08 06:34:23 gjr Exp $
Copyright (c) 1987-1993 Massachusetts Institute of Technology
#define FASL_Offset_Check_Sum 12 /* Header and data checksum. */
#define FASL_Offset_C_Length 13 /* Number of entries in the C code table */
#define FASL_Offset_C_Size 14 /* Size of C code table in SCHEME_OBJECTs */
+#define FASL_Offset_Mem_Base 15 /* Base address when not HEAP_IN_LOW_MEMORY */
-#define FASL_Offset_First_Free 15 /* Used to clear header */
+#define FASL_Offset_First_Free 16 /* Used to clear header */
/* Aliases for backwards compatibility. */
/* -*-C-*-
-$Id: load.c,v 9.34 1993/11/04 19:33:21 gjr Exp $
+$Id: load.c,v 9.35 1993/11/08 06:34:30 gjr Exp $
Copyright (c) 1987-1993 Massachusetts Institute of Technology
Dumped_Heap_Top, Dumped_Constant_Top,
Primitive_Table_Size, Primitive_Table_Length,
C_Code_Table_Size, C_Code_Table_Length,
- dumped_processor_type, dumped_interface_version;
+ dumped_processor_type, dumped_interface_version,
+ dumped_memory_base;
static unsigned long
dumped_checksum, computed_checksum;
C_Code_Table_Length = (OBJECT_DATUM (buffer[FASL_Offset_C_Length]));
C_Code_Table_Size = (OBJECT_DATUM (buffer[FASL_Offset_C_Size]));
}
+ dumped_memory_base = ((long) buffer[FASL_Offset_Mem_Base]);
\f
#ifndef INHIBIT_FASL_VERSION_CHECK
/* The error messages here should be handled by the runtime system! */
/* -*-C-*-
-$Id: fasl.h,v 9.34 1993/11/04 04:02:49 gjr Exp $
+$Id: fasl.h,v 9.35 1993/11/08 06:34:23 gjr Exp $
Copyright (c) 1987-1993 Massachusetts Institute of Technology
#define FASL_Offset_Check_Sum 12 /* Header and data checksum. */
#define FASL_Offset_C_Length 13 /* Number of entries in the C code table */
#define FASL_Offset_C_Size 14 /* Size of C code table in SCHEME_OBJECTs */
+#define FASL_Offset_Mem_Base 15 /* Base address when not HEAP_IN_LOW_MEMORY */
-#define FASL_Offset_First_Free 15 /* Used to clear header */
+#define FASL_Offset_First_Free 16 /* Used to clear header */
/* Aliases for backwards compatibility. */