sched: split sched.h into separate header files

This commit is contained in:
2026-03-12 20:29:36 +00:00
parent de520cdd2d
commit 3f21e888d6
29 changed files with 268 additions and 201 deletions

View File

@@ -2,6 +2,8 @@
#include <kernel/handle.h>
#include <kernel/printk.h>
#include <kernel/sched.h>
#include <kernel/task.h>
#include <kernel/thread.h>
#include <kernel/util.h>
#include <kernel/vm-object.h>
#include <kernel/vm-region.h>

View File

@@ -1,6 +1,8 @@
#include <kernel/channel.h>
#include <kernel/msg.h>
#include <kernel/port.h>
#include <kernel/task.h>
#include <kernel/thread.h>
#include <kernel/util.h>
#include <kernel/vm-region.h>

View File

@@ -1,6 +1,8 @@
#include <kernel/locks.h>
#include <kernel/object.h>
#include <kernel/queue.h>
#include <kernel/sched.h>
#include <kernel/thread.h>
#define HAS_OP(obj, opname) ((obj)->ob_type->ob_ops.opname)

View File

@@ -2,7 +2,8 @@
#include <kernel/libc/stdio.h>
#include <kernel/machine/panic.h>
#include <kernel/printk.h>
#include <kernel/sched.h>
#include <kernel/task.h>
#include <kernel/thread.h>
#include <stdarg.h>
static int has_panicked = 0;

View File

@@ -1,5 +1,6 @@
#include <kernel/channel.h>
#include <kernel/port.h>
#include <kernel/thread.h>
#include <kernel/util.h>
#define PORT_CAST(p) OBJECT_C_CAST(struct port, p_base, &port_type, p)