SCM Repository
View of /sml/trunk/src/runtime/kernel/load-ml.c
Parent Directory
|
Revision Log
Revision 250 -
(download)
(as text)
(annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 10 months ago) by monnier
File size: 839 byte(s)
Sat Apr 17 18:57:03 1999 UTC (21 years, 10 months ago) by monnier
File size: 839 byte(s)
This commit was generated by cvs2svn to compensate for changes in r249, which included commits to RCS files with non-trunk default branches.
/* load-ml.c * * COPYRIGHT (c) 1993 by AT&T Bell Laboratories. * */ #include <stdio.h> #include "ml-base.h" #include "ml-state.h" #include "gc.h" #include "heap-io.h" /* LoadML: * * Load a heap image from a file and resume execution. The arguments allocSz, * numGens and cacheGen are possible command-line overrides of the heap parameters * specified in the image being imported (non-negative values signify override). */ void LoadML (const char *loadImage, heap_params_t *heapParams) { ml_state_t *msp; msp = ImportHeapImage (loadImage, heapParams); #ifdef HEAP_MONITOR if (HeapMon_Init(msp->ml_heap) == FAILURE) Die("unable to start heap monitor"); #endif InitFaultHandlers (); #ifdef SIZES_C64_ML32 /* patch the 32-bit addresses */ PatchAddrs (); #endif RunML (msp); } /* end of LoadML */
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |