aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-16 23:22:02 +0200
committerMarvin Borner2021-04-16 23:22:02 +0200
commit7485f7e441ca892876d9401380aa77610eb85f76 (patch)
tree065f910effe33f5c9d71cd9619dd25216282a13d /kernel/inc/proc.h
parent4d4e784770b576199b18f22100689125a18bfd9a (diff)
New elegant I/O blocking solution
This is done using an internal scheduler syscall (127). Very nice!
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 754693f..1d5d064 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -71,7 +71,7 @@ struct proc *proc_current(void);
u8 proc_super(void);
struct proc *proc_from_pid(u32 pid);
void proc_exit(struct proc *proc, struct regs *r, s32 status) NONNULL;
-void proc_yield(struct regs *r) NONNULL;
+void proc_yield(void);
void proc_set_quantum(struct proc *proc, u32 value);
void proc_reset_quantum(struct proc *proc);
void proc_state(struct proc *proc, enum proc_state state);