feat(loader, kernel): impl part of loader and initialize kernel structure
This commit is contained in:
7
arch/x86_64/boot/boot.zig
Normal file
7
arch/x86_64/boot/boot.zig
Normal file
@@ -0,0 +1,7 @@
|
||||
const boot_consts = @cImport({
|
||||
@cInclude("boot.h");
|
||||
});
|
||||
|
||||
pub const BOOT_HEAP_SIZE: usize = boot_consts.BOOT_HEAP_SIZE;
|
||||
pub const BOOT_STACK_SIZE: usize = boot_consts.BOOT_STACK_SIZE;
|
||||
pub const LOAD_PHYSICAL_ADDR: usize = boot_consts.LOAD_PHYSICAL_ADDR;
|
||||
Reference in New Issue
Block a user