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
@@ -21,7 +21,7 @@
|
||||
#include "libopenbios/sys_info.h"
|
||||
|
||||
extern int is_aout(struct exec *ehdr);
|
||||
extern int aout_load(struct sys_info *info, const char *filename);
|
||||
extern int aout_load(struct sys_info *info, ihandle_t dev);
|
||||
extern void aout_init_program(void);
|
||||
|
||||
#endif /* _H_AOUTLOAD */
|
||||
|
||||
@@ -22,6 +22,8 @@ struct sys_info {
|
||||
unsigned long *dict_end;
|
||||
};
|
||||
|
||||
extern struct sys_info sys_info;
|
||||
|
||||
void collect_elfboot_info(struct sys_info *info);
|
||||
void collect_linuxbios_info(struct sys_info *info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user