ppc64: Re-enable SF bit after returning from ELF binary
[openbios.git] / include / libopenbios / elf_load.h
blobd3876241fb1d3e2d148fd7c187972e47d8cc7ecb
1 /*
2 * Creation Date: <2001/05/05 16:44:17 samuel>
3 * Time-stamp: <2003/10/22 23:18:42 samuel>
5 * <elfload.h>
7 * Elf loader
9 * Copyright (C) 2001, 2003 Samuel Rydh (samuel@ibrium.se)
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation
17 #ifndef _H_ELFLOAD
18 #define _H_ELFLOAD
20 #include "arch/common/elf.h"
21 #include "asm/elf.h"
22 #include "libopenbios/sys_info.h"
24 extern int elf_load(struct sys_info *info, ihandle_t dev, const char *cmdline, void **boot_notes);
25 extern void elf_init_program(void);
26 extern int is_elf(Elf_ehdr *ehdr);
27 extern int find_elf(Elf_ehdr *ehdr);
29 extern Elf_phdr * elf_readhdrs(int offset, Elf_ehdr *ehdr);
31 #endif /* _H_ELFLOAD */