Add infrastructure for build options

This commit is contained in:
Sam Tebbs 2019-08-27 19:28:17 +01:00
parent 47a6dbdb5b
commit b8f0b3131c
4 changed files with 19 additions and 9 deletions

View file

@ -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();