syscalls: start adding fork syscall, not done yet
This commit is contained in:
@@ -40,6 +40,7 @@ void set_page_dir(uint32_t new_page_dir);
|
||||
uint32_t phys_to_virt(uint32_t phys);
|
||||
uint32_t* create_page_dir();
|
||||
void destroy_page_dir(uint32_t* page_dir);
|
||||
uint32_t* copy_page_dir(uint32_t* page_dir_virt);
|
||||
|
||||
static inline uint32_t virt_to_phys(void* virt) {
|
||||
return (uint32_t)virt - 0xC0000000;
|
||||
|
||||
Reference in New Issue
Block a user