summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index d754522..1d84b7f 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -64,6 +64,9 @@ _Noreturn void process_switch_any(void); // switches to any running process
/** If there are any processes waiting for IRQs, wait with them. Otherwise, shut down */
_Noreturn void process_idle(void);
+/** Used for iterating over all processes */
+struct process *process_next(struct process *);
+
struct process *process_find(enum process_state);
size_t process_find_multiple(enum process_state, struct process **buf, size_t max);