14 lines
338 B
C
14 lines
338 B
C
#ifndef _KERNEL_SYS_PROC_H
|
|
#define _KERNEL_SYS_PROC_H
|
|
|
|
#include <libk/std.h>
|
|
|
|
struct proc;
|
|
|
|
struct proc* proc_from_elf (uint8_t* elf_contents);
|
|
struct proc* proc_clone (struct proc* proto, uintptr_t vstack_top, uintptr_t entry);
|
|
void proc_cleanup (struct proc* proc);
|
|
void proc_init_tls (struct proc* proc);
|
|
|
|
#endif // _KERNEL_SYS_PROC_H
|