Move a.out loader into the new C load implementation (also fix up the header includes in load.c).

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


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@801 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-06-27 14:00:37 +00:00
committed by Mark Cave-Ayland
parent db474e634c
commit 43fe2ac4e8
11 changed files with 25 additions and 12 deletions

View File

@@ -43,7 +43,7 @@ static int try_path(const char *path, char *param)
#ifdef CONFIG_LOADER_AOUT
/* a.out loader */
aout_load(&sys_info, path);
aout_load(&sys_info, dev);
feval("state-valid @");
valid = POP();
if (valid)

View File

@@ -14,6 +14,5 @@ extern struct context *__context;
unsigned int start_elf(unsigned long entry_point, unsigned long param);
/* boot.c */
extern struct sys_info sys_info;
extern void boot(void);
extern void go(void);

View File

@@ -75,7 +75,6 @@ arch_init( void )
int openbios(void)
{
extern struct sys_info sys_info;
#ifdef CONFIG_DEBUG_CONSOLE
#ifdef CONFIG_DEBUG_CONSOLE_SERIAL
uart_init(CONFIG_SERIAL_PORT, CONFIG_SERIAL_SPEED);