Author: bonefish Date: 2010-06-13 21:56:04 +0200 (Sun, 13 Jun 2010) New Revision: 37129 Changeset: http://dev.haiku-os.org/changeset/37129/haiku Modified: haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.h Log: X86PagingMethodPAE::MemoryTypeToPageTableEntryFlags(): Return value must be uint64, since that's the width of the page table entry. Was harmless, though, since the flags are in the lower 32 bits anyway. Modified: haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.h =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.h 2010-06-13 19:54:13 UTC (rev 37128) +++ haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.h 2010-06-13 19:56:04 UTC (rev 37129) @@ -91,7 +91,7 @@ pae_page_directory_entry* const* pdpt, addr_t address); - static uint32 MemoryTypeToPageTableEntryFlags( + static uint64 MemoryTypeToPageTableEntryFlags( uint32 memoryType); private: @@ -193,7 +193,7 @@ } -/*static*/ inline uint32 +/*static*/ inline uint64 X86PagingMethodPAE::MemoryTypeToPageTableEntryFlags(uint32 memoryType) { // ATM we only handle the uncacheable and write-through type explicitly. For