aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index cd74b40..a232f46 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -30,7 +30,7 @@ struct proc_wait_identifier {
u32 magic;
u32 id;
enum proc_wait_type type;
- s32 (*func)();
+ u32 func_ptr;
};
struct proc_wait {
@@ -63,9 +63,9 @@ 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);
-void proc_clear_quantum();
+void proc_clear_quantum(void);
void proc_enable_waiting(u32 id, enum proc_wait_type type);
-void proc_wait_for(u32 id, enum proc_wait_type type, s32 (*func)());
+void proc_wait_for(u32 id, enum proc_wait_type type, u32 func_ptr);
struct proc *proc_make(void);
#endif