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:
parent
12f0b50c3a
commit
a410098f28
@ -73,9 +73,10 @@ arch_vm_translation_map_init(kernel_args *args,
|
||||
#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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user