From 4f4d9fdc89c27aa3346467a24b621954f4564d3b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 29 Dec 2021 23:23:36 +0200 Subject: Refactoring + Mainly just moving stuff out or arch/riscv/ that should be handled in common/ + Prepared separate process stack/call stack for server callbacks, rest to be implemeted soon ish --- include/apos/proc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/apos/proc.h') diff --git a/include/apos/proc.h b/include/apos/proc.h index 6f272b1..f835394 100644 --- a/include/apos/proc.h +++ b/include/apos/proc.h @@ -4,7 +4,7 @@ #include #include -void jump_to_userspace(struct tcb *t, vm_t bin, int argc, char **argv); -vm_t setup_call_stack(struct tcb *t, vm_t start, size_t bytes); +void jump_to_userspace(struct tcb *t, int argc, char **argv); +void init_proc(void *fdt, struct vm_branch *b); #endif /* APOS_PROC_H */ -- cgit v1.3