Rework x86_64 paging and vmm

This commit is contained in:
2025-08-30 00:31:20 +02:00
parent 8cf1bde879
commit 7a52f2f051
28 changed files with 262 additions and 291 deletions

View File

@ -3,9 +3,10 @@
#include <stdatomic.h>
#include <stdint.h>
#include "hal/hal.h"
typedef struct { atomic_bool lock; } SpinLock;
typedef struct {
atomic_bool lock;
} SpinLock;
// Spin more efficiently - cpu dependant
#if defined(__x86_64__)