Author: bonefish Date: 2010-06-09 23:22:23 +0200 (Wed, 09 Jun 2010) New Revision: 37074 Changeset: http://dev.haiku-os.org/changeset/37074/haiku Modified: haiku/trunk/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp haiku/trunk/src/system/kernel/arch/x86/paging/32bit/paging.h Log: Moved kPageTableAlignment to paging.h. Modified: haiku/trunk/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp 2010-06-09 21:21:48 UTC (rev 37073) +++ haiku/trunk/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp 2010-06-09 21:22:23 UTC (rev 37074) @@ -38,9 +38,6 @@ using X86LargePhysicalPageMapper::PhysicalPageSlot; -static const size_t kPageTableAlignment = 1024 * B_PAGE_SIZE; - - // #pragma mark - X86PagingMethod32Bit::PhysicalPageSlotPool Modified: haiku/trunk/src/system/kernel/arch/x86/paging/32bit/paging.h =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/paging/32bit/paging.h 2010-06-09 21:21:48 UTC (rev 37073) +++ haiku/trunk/src/system/kernel/arch/x86/paging/32bit/paging.h 2010-06-09 21:22:23 UTC (rev 37074) @@ -60,6 +60,9 @@ #define NUM_KERNEL_PGDIR_ENTS (VADDR_TO_PDENT(KERNEL_SIZE)) +static const size_t kPageTableAlignment = 1024 * B_PAGE_SIZE; + + typedef uint32 page_table_entry; typedef uint32 page_directory_entry;