rename sched to scheduler

This commit is contained in:
Daniel Samson
2026-07-05 19:03:07 +01:00
parent 6f6ccc8bc9
commit 3f17ebf175
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
//! isolation boundary (with the payload copied between address spaces).
const arch = @import("arch");
const sched = @import("sched.zig");
const sched = @import("scheduler.zig");
/// A bounded blocking channel of `capacity` messages of type `T`.
pub fn Channel(comptime T: type, comptime capacity: usize) type {
+2 -2
View File
@@ -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
+1 -1
View File
@@ -14,7 +14,7 @@ const danos = @import("danos");
const arch = @import("arch");
const pmm = @import("pmm.zig");
const heap = @import("heap.zig");
const sched = @import("sched.zig");
const sched = @import("scheduler.zig");
const ipc = @import("ipc.zig");
/// Formatted write straight to serial, independent of the framebuffer console.