From 7263ad8caed35faf0fcd068099655a91f6769328 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Mon, 16 Sep 2019 13:54:05 +0900 Subject: [PATCH] Remove unused pg_dir_create() function --- kernel/arch/paging.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/kernel/arch/paging.c b/kernel/arch/paging.c index 66a02d3..08b8a1e 100644 --- a/kernel/arch/paging.c +++ b/kernel/arch/paging.c @@ -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; -- 2.47.3