diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/openbios/include/libopenbios/initprogram.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/openbios/include/libopenbios/initprogram.h')
-rw-r--r-- | roms/openbios/include/libopenbios/initprogram.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/roms/openbios/include/libopenbios/initprogram.h b/roms/openbios/include/libopenbios/initprogram.h new file mode 100644 index 000000000..546443536 --- /dev/null +++ b/roms/openbios/include/libopenbios/initprogram.h @@ -0,0 +1,31 @@ +/* + * Creation Date: <2010/04/02 13:00:00 mcayland> + * Time-stamp: <2010/04/02 13:00:00 mcayland> + * + * <initprogram.h> + * + * C implementation of (init-program) word + * + * Copyright (C) 2010 Mark Cave-Ayland (mark.cave-ayland@siriusit.co.uk) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 + * + */ + +#ifndef _H_INITPROGRAM +#define _H_INITPROGRAM + +extern struct context * volatile __context; +extern unsigned int start_elf(void); + +extern int arch_init_program(void); +extern void init_program(void); + +void init_fcode_context(void); +void init_forth_context(void); + +void go(void); + +#endif /* _H_INITPROGRAM */ |