diff --git a/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp b/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp index 13e843f89e..cf05f89acc 100644 --- a/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp +++ b/src/system/kernel/arch/x86/paging/32bit/X86PagingMethod32Bit.cpp @@ -38,9 +38,6 @@ using X86LargePhysicalPageMapper::PhysicalPageSlot; -static const size_t kPageTableAlignment = 1024 * B_PAGE_SIZE; - - // #pragma mark - X86PagingMethod32Bit::PhysicalPageSlotPool diff --git a/src/system/kernel/arch/x86/paging/32bit/paging.h b/src/system/kernel/arch/x86/paging/32bit/paging.h index 431d5ae67e..2144e860c9 100644 --- a/src/system/kernel/arch/x86/paging/32bit/paging.h +++ b/src/system/kernel/arch/x86/paging/32bit/paging.h @@ -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;