meta: rename
This commit is contained in:
12
sched/core.c
12
sched/core.c
@@ -1,9 +1,9 @@
|
||||
#include <socks/object.h>
|
||||
#include <socks/sched.h>
|
||||
#include <socks/clock.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <socks/printk.h>
|
||||
#include <socks/machine/thread.h>
|
||||
#include <mango/object.h>
|
||||
#include <mango/sched.h>
|
||||
#include <mango/clock.h>
|
||||
#include <mango/cpu.h>
|
||||
#include <mango/printk.h>
|
||||
#include <mango/machine/thread.h>
|
||||
|
||||
extern kern_status_t setup_kernel_task(void);
|
||||
extern kern_status_t setup_idle_task(void);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <socks/sched.h>
|
||||
#include <socks/percpu.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <mango/sched.h>
|
||||
#include <mango/percpu.h>
|
||||
#include <mango/cpu.h>
|
||||
|
||||
#define PRIO_MASK(p) (((uint32_t)1) << (p))
|
||||
#define FIRST_PRIO(m) (m > 0 ? (PRIO_MAX - __builtin_clz(m) - 1) : -1)
|
||||
|
||||
14
sched/task.c
14
sched/task.c
@@ -1,10 +1,10 @@
|
||||
#include <socks/locks.h>
|
||||
#include <socks/printk.h>
|
||||
#include <socks/clock.h>
|
||||
#include <socks/sched.h>
|
||||
#include <socks/object.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <socks/libc/stdio.h>
|
||||
#include <mango/locks.h>
|
||||
#include <mango/printk.h>
|
||||
#include <mango/clock.h>
|
||||
#include <mango/sched.h>
|
||||
#include <mango/object.h>
|
||||
#include <mango/cpu.h>
|
||||
#include <mango/libc/stdio.h>
|
||||
|
||||
#define TASK_CAST(p) OBJECT_C_CAST(struct task, t_base, &task_type, p)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <socks/bitmap.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <socks/machine/thread.h>
|
||||
#include <socks/object.h>
|
||||
#include <socks/sched.h>
|
||||
#include <mango/bitmap.h>
|
||||
#include <mango/cpu.h>
|
||||
#include <mango/machine/thread.h>
|
||||
#include <mango/object.h>
|
||||
#include <mango/sched.h>
|
||||
|
||||
#define THREAD_CAST(p) OBJECT_C_CAST(struct thread, thr_base, &thread_type, p)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <socks/sched.h>
|
||||
#include <socks/printk.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <socks/clock.h>
|
||||
#include <mango/sched.h>
|
||||
#include <mango/printk.h>
|
||||
#include <mango/cpu.h>
|
||||
#include <mango/clock.h>
|
||||
|
||||
static void timeout_expiry(struct timer *timer)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <socks/sched.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <mango/sched.h>
|
||||
#include <mango/cpu.h>
|
||||
|
||||
void wait_item_init(struct wait_item *item, struct thread *thr)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <socks/sched.h>
|
||||
#include <socks/vm.h>
|
||||
#include <socks/util.h>
|
||||
#include <socks/cpu.h>
|
||||
#include <mango/sched.h>
|
||||
#include <mango/vm.h>
|
||||
#include <mango/util.h>
|
||||
#include <mango/cpu.h>
|
||||
|
||||
static struct worker_pool *__global_worker_pool = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user