mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Bootstrap in-kernel memory management
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "font.h"
|
||||
#include "interrupts.h"
|
||||
#include "kernel_data.h"
|
||||
#include "memory.h"
|
||||
#include "screen.h"
|
||||
|
||||
extern "C" {
|
||||
@@ -40,6 +41,10 @@ void
|
||||
kernel_main(popcorn_data *header)
|
||||
{
|
||||
console cons = load_console(header);
|
||||
memory_manager::create(
|
||||
header->memory_map,
|
||||
header->memory_map_length,
|
||||
header->memory_map_desc_size);
|
||||
|
||||
interrupts_init();
|
||||
interrupts_enable();
|
||||
|
||||
Reference in New Issue
Block a user