rename sched to scheduler
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user