aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-10 00:26:39 +0200
committerMarvin Borner2021-04-10 00:26:39 +0200
commit9655593d80e23d2ea3c091e3187e8e47b278bc3d (patch)
treef618723fd9d457147f4663d2d4990f69fabb2d48 /kernel/inc/proc.h
parenteeb88df1d501ccec4737c18dddb7ca0a1176304f (diff)
Gave procs own kernel stack (TSS)
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index dcc2eeb..f5dbf1a 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -53,6 +53,9 @@ struct stream {
struct proc {
u32 pid;
u32 entry;
+ u32 user_stack;
+ u32 kernel_stack;
+
char name[64];
char dir[64];
struct stream streams[4];