mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
9661f91432
commit
1b273803c2
22
include/libopenbios/initprogram.h
Normal file
22
include/libopenbios/initprogram.h
Normal 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 */
|
||||
Reference in New Issue
Block a user