proc_create: init user stack

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-19 16:52:30 -04:00
commit 48ba3d4fa2
2 changed files with 46 additions and 14 deletions

View file

@ -33,7 +33,8 @@ struct proc;
struct thread {
tid_t tid;
vaddr_t stack_addr;
uaddr_t stack_addr;
size_t stack_size;
u64 state;
bool in_kernel;
@ -46,7 +47,7 @@ struct thread {
struct proc {
pid_t pid;
struct thread main_thread;
struct thread *main_thread;
char *name;