aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/memory/paging.h
diff options
context:
space:
mode:
authorMarvin Borner2020-05-15 20:28:44 +0200
committerMarvin Borner2020-05-15 20:28:44 +0200
commit916c21af52dc2230d689e1075457c4c29b4b262c (patch)
tree761fb7eb888d1d3fd33405e4a601014ab1776484 /src/kernel/memory/paging.h
parent89b9cad0607d8fb81489143e312c1983e3e8a552 (diff)
Added test-case for malloc
Diffstat (limited to 'src/kernel/memory/paging.h')
-rw-r--r--src/kernel/memory/paging.h4
1 files changed, 2 insertions, 2 deletions
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