From 916c21af52dc2230d689e1075457c4c29b4b262c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 15 May 2020 20:28:44 +0200 Subject: Added test-case for malloc --- src/kernel/memory/paging.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/memory/paging.h') diff --git a/src/kernel/memory/paging.h b/src/kernel/memory/paging.h index f0b50b4..bf82cf5 100644 --- a/src/kernel/memory/paging.h +++ b/src/kernel/memory/paging.h @@ -31,7 +31,7 @@ struct page_directory { struct page_table *tables[1024] __attribute__((aligned(4096))); }; -struct page_directory *paging_kernel_directory; +struct page_directory *paging_kernel_directory __attribute__((aligned(4096))); int paging_enabled; void paging_install(u32 multiboot_address); @@ -58,4 +58,4 @@ void paging_set_user(u32 virt, u32 count); u32 paging_find_pages(u32 count); u32 paging_alloc_pages(u32 count); -#endif +#endif \ No newline at end of file -- cgit v1.2.3