Files
haiku-beta6/headers/private/kernel/elf.h
T

32 lines
721 B
C
Raw Normal View History

2002-07-09 12:24:59 +00:00
/*
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef _KERNEL_ELF_H
#define _KERNEL_ELF_H
2003-10-17 14:42:45 +00:00
2002-07-09 12:24:59 +00:00
#include <thread.h>
2003-01-13 16:36:25 +00:00
#include <image.h>
2002-07-09 12:24:59 +00:00
2003-10-17 14:42:45 +00:00
#ifdef __cplusplus
extern "C" {
#endif
status_t elf_load_user_image(const char *path, struct team *team, int flags, addr_t *_entry);
// these two might get public one day:
image_id load_kernel_add_on(const char *path);
status_t unload_kernel_add_on(image_id id);
status_t elf_lookup_symbol_address(addr_t address, addr_t *_baseAddress,
const char **_symbolName, const char **_imageName, bool *_exactMatch);
status_t elf_init(kernel_args *args);
2002-07-09 12:24:59 +00:00
2003-10-17 14:42:45 +00:00
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_ELF_H */