blob: 0905a5f1d4735284d9f52f2c992f65289c71e1c3 [file] [log] [blame]
swissChilie20b79b2021-03-17 21:20:13 -07001#pragma once
2
3#include "kint.h"
4
5// NOTE: uses kmalloc_a for now, this is bad because we will probably
6// run out of memory pretty quick, but malloc() doesn't support alignment
7// yet, so here we are.
8// dir is the VIRTUAL address, return is also virtual
9uint *clone_page_directory(uint *dir);
10// here, both return and argument are PHYSICAL
11uint clone_page_table(uint table);