Limit the large page size to 16MB for now.

MFC after:	1 week
This commit is contained in:
andreast 2013-11-23 18:52:14 +00:00
parent 671c44e883
commit 2e3d545ea0

View File

@ -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;
}