paging is now enabled with __shaky__ code

This commit is contained in:
2025-06-09 21:01:17 -04:00
parent 83b6a9eaf2
commit 920d0b01e1
7 changed files with 97 additions and 10 deletions

View File

@ -1,3 +1,16 @@
typedef struct {
#include <stdint.h>
} pageframe_t;
#ifndef ARCH_PAGING_H
#define ARCH_PAGING_H
#define PAGE_TABLE_ENTRIES 1024
#define PAGE_DIRECTORY_ENTRIES 1024
void load_page_directory(uint32_t*);
void enable_paging();
void setup_paging(void);
#endif