core: add a new pte

This commit is contained in:
2024-10-15 13:32:02 +02:00
parent 577d6c97ec
commit 457244222b
2 changed files with 8 additions and 6 deletions

View File

@ -6,10 +6,10 @@
#include "memory.h"
#include "utils.h"
#define PT_SIZE 0x300
#define PT_SIZE 1024
#define MAX_TLB_ENTRIES 32
extern uint32_t page_table_entries[PT_SIZE] __attribute__((aligned(4096)));
extern uint32_t page_table_entries[PT_SIZE];
static int16_t find_next_block(size_t nb_pages)
{