diff options
author | Marvin Borner | 2020-06-01 16:46:51 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-01 16:46:51 +0200 |
commit | 5782d6b0c10b322d78c5d1284cbd4199d2e0f7ce (patch) | |
tree | c4db00e409444afefc54efbff5ee1ca5d4880e66 /src/kernel/memory/paging.h | |
parent | 448aa86d5aea864ac103808981a433e4f0816276 (diff) |
Hmm
Diffstat (limited to 'src/kernel/memory/paging.h')
-rw-r--r-- | src/kernel/memory/paging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/memory/paging.h b/src/kernel/memory/paging.h index 1408d7c..29d584c 100644 --- a/src/kernel/memory/paging.h +++ b/src/kernel/memory/paging.h @@ -25,8 +25,8 @@ #define PT_GLOBAL 1 << 8 #define PT_USED 1 << 9 -u32 *page_directory[1024] __attribute__((aligned(4096))); -u32 page_tables[1024][1024] __attribute__((aligned(4096))); +u32 **page_directory __attribute__((aligned(PAGE_ALIGN))); +u32 kernel_page_tables[PAGE_COUNT][PAGE_COUNT] __attribute__((aligned(PAGE_ALIGN))); int paging_enabled; void paging_install(); |