#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;
};

void amd64_load_kernel_cr3 (void);
void mm_init2 (void);

#endif // _KERNEL_AMD64_MM_H
