Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openhackware / src / libexec / exec.h
1 /*
2  * <exec.h>
3  *
4  * Open Hack'Ware BIOS: executable files loader definitions
5  * 
6  * Copyright (c) 2004-2005 Jocelyn Mayer
7  * 
8  *   This program is free software; you can redistribute it and/or
9  *   modify it under the terms of the GNU General Public License V2
10  *   as published by the Free Software Foundation
11  *
12  *   This program is distributed in the hope that it will be useful,
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *   GNU General Public License for more details.
16  *
17  *   You should have received a copy of the GNU General Public License
18  *   along with this program; if not, write to the Free Software
19  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  */
21
22 #if !defined(__OHW_EXEC_H__)
23 #define __OHW_EXEC_H__
24
25 int _bootfile_load (inode_t *file, void **dest, void **entry, void **end,
26                     uint32_t loffset, int type);
27 int exec_load_elf (inode_t *file, void **dest, void **entry, void **end,
28                    uint32_t loffset);
29 int exec_load_xcoff (inode_t *file, void **dest, void **entry, void **end,
30                      uint32_t loffset);
31 int exec_load_macho (inode_t *file, void **dest, void **entry, void **end,
32                      uint32_t loffset);
33 int exec_load_pef (inode_t *file, void **dest, void **entry, void **end,
34                    uint32_t loffset);
35 int exec_load_prep (inode_t *file, void **dest, void **entry, void **end,
36                     uint32_t loffset);
37 int exec_load_chrp (inode_t *file, void **dest, void **entry, void **end,
38                     uint32_t loffset);
39
40 #endif /* !defined(__OHW_EXEC_H__) */