Use dummy allocator as global allocator

This commit is contained in:
Philipp Oppermann
2019-06-17 17:49:21 +02:00
parent c0367074ac
commit ebbc6d55d2

View File

@@ -16,6 +16,9 @@ pub mod memory;
pub mod serial;
pub mod vga_buffer;
#[global_allocator]
static ALLOCATOR: allocator::Dummy = allocator::Dummy;
pub fn init() {
gdt::init();
interrupts::init_idt();