feat: shell and signal demo as loadable user executable
[lunaix-os.git] / lunaix-os / kernel / process / process.c
index 414a840bee7cec61311fda203a7c6bb880db3ddc..23ff6a4dcc3e9a24ae115ebb532f4bed10de17bf 100644 (file)
@@ -162,7 +162,7 @@ init_proc_user_space(struct proc_info* pcb)
     }
 
     mapped->region_copied = __stack_copied;
-    mm_index((void**)&pcb->mm.heap, mapped);
+    mm_index((void**)&pcb->mm.stack, mapped);
 
     // TODO other uspace initialization stuff