| 1 | /* $Header$ */ |
| 2 | |
| 3 | /* |
| 4 | * Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved. |
| 5 | * |
| 6 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 7 | * on using and copying this software. |
| 8 | */ |
| 9 | /* |
| 10 | Name |
| 11 | vmpreini.h - preinit |
| 12 | Function |
| 13 | |
| 14 | Notes |
| 15 | |
| 16 | Modified |
| 17 | 07/21/99 MJRoberts - Creation |
| 18 | */ |
| 19 | |
| 20 | #ifndef VMPREINI_H |
| 21 | #define VMPREINI_H |
| 22 | |
| 23 | /* |
| 24 | * Run preinitialization. Loads the image file, invokes its main |
| 25 | * entrypoint, and saves the new file. |
| 26 | */ |
| 27 | void vm_run_preinit(class CVmFile *origfp, const char *orig_image_fname, |
| 28 | class CVmFile *newfp, class CVmHostIfc *hostifc, |
| 29 | class CVmMainClientIfc *clientifc, |
| 30 | const char *const *argv, int argc, |
| 31 | class CVmRuntimeSymbols *global_symtab, |
| 32 | class CVmRuntimeSymbols *macros); |
| 33 | |
| 34 | #endif /* VMPREINI_H */ |
| 35 |