Author: bonefish Date: 2010-06-09 23:23:45 +0200 (Wed, 09 Jun 2010) New Revision: 37075 Changeset: http://dev.haiku-os.org/changeset/37075/haiku Modified: haiku/trunk/src/system/kernel/arch/x86/paging/pae/paging.h Log: Added some definitions. Modified: haiku/trunk/src/system/kernel/arch/x86/paging/pae/paging.h =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/paging/pae/paging.h 2010-06-09 21:22:23 UTC (rev 37074) +++ haiku/trunk/src/system/kernel/arch/x86/paging/pae/paging.h 2010-06-09 21:23:45 UTC (rev 37075) @@ -6,7 +6,7 @@ #define KERNEL_ARCH_X86_PAGING_PAE_PAGING_H -#include <SupportDefs.h> +#include <OS.h> #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;