Add infrastructure for build options
This commit is contained in:
parent
47a6dbdb5b
commit
b8f0b3131c
4 changed files with 19 additions and 9 deletions
|
|
@ -45,7 +45,7 @@ const MemProfile = @import("../../mem.zig").MemProfile;
|
|||
///
|
||||
/// Initialise the architecture
|
||||
///
|
||||
pub fn init(mem_profile: *const MemProfile, allocator: *std.mem.Allocator) void {
|
||||
pub fn init(mem_profile: *const MemProfile, allocator: *std.mem.Allocator, comptime options: type) void {
|
||||
disableInterrupts();
|
||||
|
||||
gdt.init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue