Only use PAE, if supported by the CPU.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37068 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -73,9 +73,10 @@ arch_vm_translation_map_init(kernel_args *args,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if B_HAIKU_PHYSICAL_BITS == 64
|
#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;
|
gX86PagingMethod = new(&sPagingMethodBuffer) X86PagingMethodPAE;
|
||||||
else
|
} else
|
||||||
#endif
|
#endif
|
||||||
gX86PagingMethod = new(&sPagingMethodBuffer) X86PagingMethod32Bit;
|
gX86PagingMethod = new(&sPagingMethodBuffer) X86PagingMethod32Bit;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user