APIC, HPET, virtual memory

This commit is contained in:
2025-12-22 19:36:43 +01:00
parent 741d0fb9b0
commit 7b33d0757a
13 changed files with 495 additions and 3 deletions

View File

@@ -1,6 +1,14 @@
#ifndef _KERNEL_AMD64_MM_H
#define _KERNEL_AMD64_MM_H
#include <libk/std.h>
#include <sync/spin_lock.h>
#define PAGE_SIZE 4096
struct pd {
spin_lock_t lock;
uintptr_t cr3_paddr;
};
#endif // _KERNEL_AMD64_MM_H