diff options
author | Danny Holman <dholman@gymli.org> | 2025-01-12 01:17:36 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2025-01-12 01:19:11 -0600 |
commit | 95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf (patch) | |
tree | c8c35347b50477929727fa5be9f5d0f55cbe18fd /include/kernel/sched.h | |
parent | 5e166f3042a8e7b3031aae4da7006f80caa53ecc (diff) |
PROJECT RESTRUCTURING
Move the entire kernel into its own directory. Create new directories
for system commands, libraries and other required essentials for a
complete Unix-like operating system.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/kernel/sched.h')
-rw-r--r-- | include/kernel/sched.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/kernel/sched.h b/include/kernel/sched.h deleted file mode 100644 index 00a5d95..0000000 --- a/include/kernel/sched.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef KERNEL_SCHED_H -#define KERNEL_SCHED_H - -#include <kernel/asm.h> -#include <kernel/kthread.h> -#include <stdint.h> - -void sched_init(void); -void schedule_next(void); -void schedule_thread(struct kthread *thread); - -void block_thread(struct kthread *thread); -void unblock_thread(struct kthread *thread); - -void sched_lock(void); -void sched_unlock(void); - -void switch_thread(struct kthread *old, struct kthread *new); - -#endif |