Made the kernel higher half
This commit is contained in:
parent
ed25810927
commit
62fefbc836
8 changed files with 336 additions and 149 deletions
|
|
@ -12,13 +12,15 @@ pub fn build(b: *std.Build) void {
|
|||
const kernel = b.addExecutable(.{
|
||||
.name = "kernel",
|
||||
.root_module = b.createModule(.{
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.root_source_file = b.path("src/kernel.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.code_model = .medium,
|
||||
}),
|
||||
});
|
||||
|
||||
kernel.root_module.addAssemblyFile(b.path("src/boot.S"));
|
||||
|
||||
kernel.setLinkerScript(b.path("linker.ld"));
|
||||
|
||||
b.installArtifact(kernel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue