]> git.corax.cc Git - corax/commitdiff
Remove unused pg_dir_create() function
authorMatthias Kruk <m@m10k.eu>
Mon, 16 Sep 2019 04:54:05 +0000 (13:54 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 16 Sep 2019 04:54:05 +0000 (13:54 +0900)
kernel/arch/paging.c

index 66a02d351d966ac50cb523371a355ccc6881599e..08b8a1e2221bc4df27659dd6ba6e8440de472967 100644 (file)
@@ -41,21 +41,6 @@ static const char *_str_pg_mode[] = {
     "Intel64 mode"
 };
 
-void* pg_dir_create(void)
-{
-    void *dir;
-
-    dir = NULL;
-
-    if(!_kernel_cr3) {
-        dir = _phys_alloc(sizeof(pdpt_t), PDPT_ALIGN);
-    } else {
-
-    }
-
-    return(dir);
-}
-
 static void* _phys_alloc(u32_t size, u32_t align)
 {
     extern u32_t _mem_start;