Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2089
Line 35... Line 35...
35
#ifndef KERN_ELF_H_
35
#ifndef KERN_ELF_H_
36
#define KERN_ELF_H_
36
#define KERN_ELF_H_
37
 
37
 
38
#include <arch/elf.h>
38
#include <arch/elf.h>
39
#include <arch/types.h>
39
#include <arch/types.h>
40
#include <typedefs.h>
-
 
41
 
40
 
42
/**
41
/**
43
 * current ELF version
42
 * current ELF version
44
 */
43
 */
45
#define EV_CURRENT  1
44
#define EV_CURRENT  1
Line 333... Line 332...
333
typedef struct elf64_segment_header elf_segment_header_t;
332
typedef struct elf64_segment_header elf_segment_header_t;
334
typedef struct elf64_section_header elf_section_header_t;
333
typedef struct elf64_section_header elf_section_header_t;
335
typedef struct elf64_symbol elf_symbol_t;
334
typedef struct elf64_symbol elf_symbol_t;
336
#endif
335
#endif
337
 
336
 
338
extern int elf_load(elf_header_t *header, as_t * as);
-
 
339
extern char *elf_error(int rc);
337
extern char *elf_error(int rc);
340
 
338
 
341
#endif
339
#endif
342
 
340
 
343
/** @}
341
/** @}