aboutsummaryrefslogtreecommitdiff
path: root/include/libopenbios/initprogram.h
blob: 546443536e135ae9efd9a799dd09f8d9cf19ca53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 */