From f09fde9fd723c9b45f07527f197a454ccd680286 Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Sun, 6 Apr 2014 22:51:10 +0200 Subject: [PATCH] Cleanup --- kernel/src/paging.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/src/paging.cpp b/kernel/src/paging.cpp index 3bb5d225..be91a7e6 100644 --- a/kernel/src/paging.cpp +++ b/kernel/src/paging.cpp @@ -11,7 +11,6 @@ #include "paging.hpp" #include "kernel.hpp" #include "physical_allocator.hpp" -#include "console.hpp" #include "assert.hpp" #include "process.hpp" #include "physical_pointer.hpp" @@ -105,9 +104,7 @@ void paging::init(){ auto physical_memory = physical_allocator::early_allocate(physical_memory_pages); if(!physical_memory){ - k_print_line("Impossible to allocate enough physical memory for paging tables"); - - suspend_boot(); + suspend_kernel("Impossible to allocate enough physical memory for paging tables"); } //Compute the physical offsets of the paging tables