mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-14 15:06:52 -04:00
Cleanup
This commit is contained in:
parent
bfc5b38310
commit
f09fde9fd7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user