Limit the large page size to 16MB for now.
MFC after: 1 week
This commit is contained in:
parent
671c44e883
commit
2e3d545ea0
@ -165,6 +165,11 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
nptlp--;
|
||||
}
|
||||
}
|
||||
|
||||
/* For now we allow shift only to be <= 0x18. */
|
||||
if (shift >= 0x18)
|
||||
shift = 0x18;
|
||||
|
||||
moea64_large_page_shift = shift;
|
||||
moea64_large_page_size = 1ULL << shift;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user