proc: add memcpy_user to copy_parent
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
e1113ec277
commit
ef8056ccd7
2 changed files with 11 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ struct proc {
|
|||
int proc_kill(struct proc *proc, int signal);
|
||||
void proc_mmap(struct proc *proc, paddr_t p, vaddr_t v, size_t len, u64 flags);
|
||||
ssize_t proc_load_file(const char *file, struct proc *proc);
|
||||
struct proc *proc_create(struct proc *parent);
|
||||
struct proc *proc_create(struct thread *parent);
|
||||
void proc_free(struct proc *proc);
|
||||
void switch_to(struct thread *from, struct thread *to);
|
||||
void proc_init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue