52a3801208
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
18 lines
478 B
C
Executable File
18 lines
478 B
C
Executable File
/*
|
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
|
** Distributed under the terms of the NewOS License.
|
|
*/
|
|
#ifndef _KERNEL_ELF_H
|
|
#define _KERNEL_ELF_H
|
|
|
|
#include <thread.h>
|
|
|
|
int elf_load_uspace(const char *path, struct proc *p, int flags, addr *entry);
|
|
image_id elf_load_kspace(const char *path, const char *sym_prepend);
|
|
int elf_unload_kspace( const char *path);
|
|
addr elf_lookup_symbol(image_id id, const char *symbol);
|
|
int elf_init(kernel_args *ka);
|
|
|
|
#endif
|
|
|