blob: 0905a5f1d4735284d9f52f2c992f65289c71e1c3 [file] [log] [blame]
#pragma once
#include "kint.h"
// NOTE: uses kmalloc_a for now, this is bad because we will probably
// run out of memory pretty quick, but malloc() doesn't support alignment
// yet, so here we are.
// dir is the VIRTUAL address, return is also virtual
uint *clone_page_directory(uint *dir);
// here, both return and argument are PHYSICAL
uint clone_page_table(uint table);