This commit is contained in:
Baptiste Wicht 2014-04-06 22:51:10 +02:00
parent bfc5b38310
commit f09fde9fd7

View File

@ -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