Author: bonefish Date: 2010-06-08 23:43:19 +0200 (Tue, 08 Jun 2010) New Revision: 37068 Changeset: http://dev.haiku-os.org/changeset/37068/haiku Modified: haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp Log: Only use PAE, if supported by the CPU. Modified: haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp =================================================================== --- haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp 2010-06-08 21:21:55 UTC (rev 37067) +++ haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp 2010-06-08 21:43:19 UTC (rev 37068) @@ -73,9 +73,10 @@ #endif #if B_HAIKU_PHYSICAL_BITS == 64 - if (true /* TODO: If needed! */) + if (x86_check_feature(IA32_FEATURE_PAE, FEATURE_COMMON) + /* TODO: && if needed */) { gX86PagingMethod = new(&sPagingMethodBuffer) X86PagingMethodPAE; - else + } else #endif gX86PagingMethod = new(&sPagingMethodBuffer) X86PagingMethod32Bit;