proc_create: init user stack
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
19b9d68651
commit
48ba3d4fa2
2 changed files with 46 additions and 14 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue