proc: add basic proc loading

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-17 20:11:19 -04:00
commit 6b40cca5b0
10 changed files with 187 additions and 44 deletions

View file

@ -17,6 +17,7 @@
#define PAGE_ACCESSED 0x020
#define PAGE_DIRTY 0x040
#define PAGE_PS 0x080
#define PAGE_XD (1ull << 63)
#define pgd_index(address) (((address) >> 39) & 0x1FF)
#define pud_index(address) (((address) >> 30) & 0x1FF)