Files
openbios/include/libopenbios/aout_load.h
Mark Cave-Ayland d4451ae216 Move the *_init_program() functions into the main loader source files so that everything is in one place. Part of this
involves taking the existing parts of the XCOFF loader and putting them into a new loader file xcoff_load.c. Also fix a 
dependency order change these changes introduce when building openbios-unix.

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


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@720 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-28 23:47:36 +00:00

28 lines
690 B
C

/*
* Creation Date: <2010/03/22 18:00:00 mcayland>
* Time-stamp: <2010/03/22 18:00:00 mcayland>
*
* <aout_load.h>
*
* a.out loader
*
* 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
* as published by the Free Software Foundation
*
*/
#ifndef _H_AOUTLOAD
#define _H_AOUTLOAD
#include "arch/common/a.out.h"
#include "libopenbios/sys_info.h"
extern int is_aout(struct exec *ehdr);
extern int aout_load(struct sys_info *info, const char *filename);
extern void aout_init_program(void);
#endif /* _H_AOUTLOAD */