mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: mmu.h
This commit is contained in:
+1
-3
@@ -2,6 +2,7 @@
|
||||
#include <limine.h>
|
||||
#include <logging.h>
|
||||
#include <string.h>
|
||||
#include <arch/mmu.h>
|
||||
|
||||
uintptr_t hhdmbase;
|
||||
static size_t memorysize;
|
||||
@@ -17,9 +18,6 @@ static bmsection_t bmsections[PMM_SECTION_COUNT];
|
||||
|
||||
static uint64_t *bitmap;
|
||||
|
||||
// TODO move to arch specific header
|
||||
#define PAGE_SIZE 4096
|
||||
|
||||
static volatile struct limine_hhdm_request hhdmreq = {
|
||||
.id = LIMINE_HHDM_REQUEST,
|
||||
.revision = 0
|
||||
|
||||
Reference in New Issue
Block a user