summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/mix_vm.h')
-rw-r--r--mixlib/mix_vm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mixlib/mix_vm.h b/mixlib/mix_vm.h
index cf4965c..62ba34d 100644
--- a/mixlib/mix_vm.h
+++ b/mixlib/mix_vm.h
@@ -127,6 +127,12 @@ mix_vm_get_symbol_table (const mix_vm_t *vm);
extern mix_address_t
mix_vm_get_prog_count (const mix_vm_t *vm);
+/* Reposition program counter and reset state so that a loaded
+ program can be restarted.
+*/
+extern void
+mix_vm_reset_program (mix_vm_t *vm);
+
/* continue execution of instructions in memory */
/* Possible outcomes */
enum {