I don't even know what to write at this point

This commit is contained in:
Jozef Nagy 2025-03-10 17:10:35 +01:00
parent df0ebbbbcd
commit 72a46bc7ce
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
12 changed files with 235 additions and 96 deletions

View file

@ -20,6 +20,17 @@
#ifndef _MM_PAGING_H
#define _MM_PAGING_H
#include <stdint.h>
#define PAGE_SIZE 0x1000
#define VMM_PRESENT 1
#define VMM_WRITABLE 2
#define VMM_NX (1ull << 63)
#define VMM_USER 4
typedef struct {
uint64_t entries[512];
} pagetable;
#endif /* _MM_PAGING_H */