|
|
1.1 root 1: /*
2: * Creation Date: <2001/05/05 16:44:17 samuel>
3: * Time-stamp: <2003/10/22 23:18:42 samuel>
4: *
5: * <elfload.h>
6: *
7: * Elf loader
8: *
9: * Copyright (C) 2001, 2003 Samuel Rydh ([email protected])
10: *
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
14: *
15: */
16:
17: #ifndef _H_ELFLOAD
18: #define _H_ELFLOAD
19:
20: #include "arch/common/elf.h"
21: #include "asm/elf.h"
22: #include "libopenbios/sys_info.h"
23:
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);
28:
29: extern Elf_phdr * elf_readhdrs(int offset, Elf_ehdr *ehdr);
30:
31: #endif /* _H_ELFLOAD */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.