mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
db474e634c
commit
43fe2ac4e8
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user