aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
authorMarvin Borner2021-02-07 14:23:32 +0100
committerMarvin Borner2021-02-07 14:23:32 +0100
commiteca4dfd49216f6158df69143994a18a0b3edd4fe (patch)
tree831e2ffe1724d4761d734fe753df0d0ea6958dd2 /kernel/inc/proc.h
parent03b8f1d1976e0f74c80556315105734354fc06fc (diff)
Added filesystem and proc permissions
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 6be7da3..4a75638 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -26,6 +26,7 @@ struct proc_wait {
struct proc {
u32 pid;
+ u8 super;
char name[32];
struct regs regs;
struct proc_wait wait; // dev_id
@@ -37,6 +38,7 @@ void scheduler(struct regs *regs);
void proc_init(void);
void proc_print(void);
struct proc *proc_current(void);
+u8 proc_super(void);
struct proc *proc_from_pid(u32 pid);
void proc_exit(struct proc *proc, int status);
void proc_yield(struct regs *r);