aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/memory/paging.h
diff options
context:
space:
mode:
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