diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-14 20:55:54 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-14 20:55:54 -0400 |
commit | 7a32267fcc81af31d595373884911d503b0a9df8 (patch) | |
tree | 31c3393499f598d74c47fc8b3479c5782100b93a /sys/include | |
parent | 5a8915f5b36cf3b21c843ef7959c24ac39318aca (diff) |
kernel: sched: Keep track of stack and privilege
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/proc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/proc.h b/sys/include/sys/proc.h index 34a5037..7181ecb 100644 --- a/sys/include/sys/proc.h +++ b/sys/include/sys/proc.h @@ -47,6 +47,8 @@ struct proc { struct trapframe *tf; struct pcb pcb; struct vas addrsp; + uintptr_t stack_base; + uint8_t is_user; TAILQ_ENTRY(proc) link; }; |