The new loader APIs in libopenbios already have routines to detect the type of executable at a given address and react

accordingly. Hence since the loaders are currently written in C, it makes more sense to drop down into C and re-use the same 
code rather than have a second implementation in Forth.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@726 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-04-02 13:01:10 +00:00
committed by Mark Cave-Ayland
parent 9661f91432
commit 1b273803c2
6 changed files with 125 additions and 297 deletions

View File

@@ -0,0 +1,22 @@
/*
* 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 void init_program(void);
#endif /* _H_INITPROGRAM */