From 38bde241023412b60268e9542885f54797ec09c0 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 9 Jun 2010 21:23:45 +0000 Subject: [PATCH] Added some definitions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37075 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/paging/pae/paging.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/system/kernel/arch/x86/paging/pae/paging.h b/src/system/kernel/arch/x86/paging/pae/paging.h index b8d72ad423..a3e4cb5acd 100644 --- a/src/system/kernel/arch/x86/paging/pae/paging.h +++ b/src/system/kernel/arch/x86/paging/pae/paging.h @@ -6,7 +6,7 @@ #define KERNEL_ARCH_X86_PAGING_PAE_PAGING_H -#include +#include #if B_HAIKU_PHYSICAL_BITS == 64 @@ -55,6 +55,11 @@ | X86_PAE_PTE_CACHING_DISABLED) +static const uint32 kPAEPageDirEntryCount = 512; +static const uint32 kPAEPageTableEntryCount = 512; +static const size_t kPAEPageTableRange = kPAEPageTableEntryCount * B_PAGE_SIZE; + + typedef uint64 pae_page_directory_pointer_table_entry; typedef uint64 pae_page_directory_entry; typedef uint64 pae_page_table_entry;