rename sched to scheduler
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ const arch = @import("arch");
|
||||
const console = @import("console.zig");
|
||||
const pmm = @import("pmm.zig");
|
||||
const heap = @import("heap.zig");
|
||||
const sched = @import("sched.zig");
|
||||
const scheduler = @import("scheduler.zig");
|
||||
const tests = @import("tests.zig");
|
||||
const build_options = @import("build_options");
|
||||
const BootInfo = danos.BootInfo;
|
||||
@@ -103,7 +103,7 @@ fn kmain(boot_info: *const BootInfo) noreturn {
|
||||
serial0.debugPrint(" Kernel FootdebugPrint: {d} KiB\n", .{kib(s1.free_frames - s2.free_frames)});
|
||||
|
||||
// Register the current context as the first task before enabling preemption.
|
||||
sched.init(4);
|
||||
scheduler.init(4);
|
||||
serial0.debugWrite("\ndanos: scheduler online\n");
|
||||
|
||||
// Start the timer and unmask interrupts — the kernel now has a heartbeat, and
|
||||
|
||||
Reference in New Issue
Block a user