swissChili | e20b79b | 2021-03-17 21:20:13 -0700 | [diff] [blame^] | 1 | #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 | ||||
9 | uint *clone_page_directory(uint *dir); | ||||
10 | // here, both return and argument are PHYSICAL | ||||
11 | uint clone_page_table(uint table); |