Files
mop3/kernel/amd64/mm.h
kamkow1 7cd5623d36
All checks were successful
Build documentation / build-and-deploy (push) Successful in 26s
Use reference counting to track filetime of process PD
2026-01-14 23:11:06 +01:00

19 lines
295 B
C

#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;
atomic_int refs;
};
void amd64_load_kernel_cr3 (void);
void mm_init2 (void);
#endif // _KERNEL_AMD64_MM_H