Refactor compilation of architecture-specific code
This commit is contained in:
parent
b3f7785fd8
commit
08dbf09e00
6 changed files with 130 additions and 155 deletions
|
@ -1,7 +1,7 @@
|
|||
// Zig version: 0.4.0
|
||||
|
||||
const builtin = @import("builtin");
|
||||
const arch = if (builtin.is_test) @import("../../test/kernel/arch_mock.zig") else @import("arch.zig");
|
||||
const arch = if (builtin.is_test) @import("../../test/kernel/arch_mock.zig") else @import("arch.zig").internals;
|
||||
const multiboot = @import("multiboot.zig");
|
||||
const tty = @import("tty.zig");
|
||||
const vga = @import("vga.zig");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue