Permalink
Browse files

Cleanup initialization code and put in place code to instantiate conc…

…urrent VMs
  • Loading branch information...
1 parent 83e2078 commit 29a0d8c69e74526b5c69fc46299d659c75c03162 @feeley feeley committed Feb 10, 2014
Showing with 327 additions and 281 deletions.
  1. +34 −8 include/gambit.h.in
  2. +2 −2 include/stamp.h
  3. +55 −65 lib/mem.c
  4. +236 −206 lib/setup.c
View
@@ -8953,6 +8953,23 @@ typedef struct ___global_state_struct
___P((___SCMOBJ ht_src,
___SCMOBJ ht_dst),
());
+ void (*___cleanup) ___PVOID;
+ void (*___cleanup_and_exit_process)
+ ___P((int status),
+ ());
+ ___SCMOBJ (*___setup_vmstate)
+ ___P((___virtual_machine_state ___vms),
+ ());
+ void (*___cleanup_vmstate)
+ ___P((___virtual_machine_state ___vms),
+ ());
+ ___SCMOBJ (*___setup_pstate)
+ ___P((___processor_state ___ps,
+ ___virtual_machine_state ___vms),
+ ());
+ void (*___cleanup_pstate)
+ ___P((___processor_state ___ps),
+ ());
___SIZE_T (*___get_min_heap) ___PVOID;
void (*___set_min_heap)
___P((___SIZE_T bytes),
@@ -8977,10 +8994,6 @@ typedef struct ___global_state_struct
int new_settings),
());
___program_startup_info_struct *(*___get_program_startup_info) ___PVOID;
- void (*___cleanup) ___PVOID;
- void (*___cleanup_and_exit_process)
- ___P((int status),
- ());
___SCMOBJ (*___call)
___P((___PSD
int nargs,
@@ -10187,6 +10200,23 @@ ___IMP_FUNC(void,___setup_params_reset)
___IMP_FUNC(___SCMOBJ,___setup)
___P((struct ___setup_params_struct *setup_params),
());
+___IMP_FUNC(void,___cleanup) ___PVOID;
+___IMP_FUNC(void,___cleanup_and_exit_process)
+ ___P((int status),
+ ());
+___IMP_FUNC(___SCMOBJ,___setup_vmstate)
+ ___P((___virtual_machine_state ___vms),
+ ());
+___IMP_FUNC(void,___cleanup_vmstate)
+ ___P((___virtual_machine_state ___vms),
+ ());
+___IMP_FUNC(___SCMOBJ,___setup_pstate)
+ ___P((___processor_state ___ps,
+ ___virtual_machine_state ___vms),
+ ());
+___IMP_FUNC(void,___cleanup_pstate)
+ ___P((___processor_state ___ps),
+ ());
___IMP_FUNC(___SIZE_T,___get_min_heap) ___PVOID;
___IMP_FUNC(void,___set_min_heap)
___P((___SIZE_T bytes),
@@ -10212,10 +10242,6 @@ ___IMP_FUNC(int,___set_debug_settings)
());
___IMP_FUNC(___program_startup_info_struct*,___get_program_startup_info)
___PVOID;
-___IMP_FUNC(void,___cleanup) ___PVOID;
-___IMP_FUNC(void,___cleanup_and_exit_process)
- ___P((int status),
- ());
___IMP_FUNC(___SCMOBJ,___call)
___P((___PSD
int nargs,
View
@@ -2,5 +2,5 @@
* Time stamp of last source code repository commit.
*/
-#define ___STAMP_YMD 20140209
-#define ___STAMP_HMS 181406
+#define ___STAMP_YMD 20140210
+#define ___STAMP_HMS 15010
Oops, something went wrong.

0 comments on commit 29a0d8c

Please sign in to comment.