diff options
author | Marvin Borner | 2021-03-12 23:56:42 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-12 23:56:42 +0100 |
commit | e8f17844d05fdc0e44d3793dc73996c7c09e44d6 (patch) | |
tree | 5d4cae66d97f2507aad7fe86ed11867b9a939bbe /kernel/features/proc.c | |
parent | 928f2662d1469e815a7e32e04d6c68bae4a61c14 (diff) |
New memory allocation algorithms
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index e4b5105..e7ddf4b 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -487,6 +487,7 @@ void proc_init(void) struct node *new = list_add(proc_list, proc_make(PROC_PRIV_ROOT)); bin_load("/bin/init", new->data); current = new; + proc_stack_push(new->data, 0); _eip = ((struct proc *)new->data)->regs.eip; _esp = ((struct proc *)new->data)->regs.useresp; |