Ouch, do the shift properly. An uin64_t needs the right postfix when shifting.
This commit is contained in:
parent
f7a3a2a57c
commit
12e7de228a
@ -166,7 +166,7 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend)
|
||||
}
|
||||
}
|
||||
moea64_large_page_shift = shift;
|
||||
moea64_large_page_size = 1 << shift;
|
||||
moea64_large_page_size = 1ULL << shift;
|
||||
}
|
||||
|
||||
moea64_mid_bootstrap(mmup, kernelstart, kernelend);
|
||||
|
Loading…
x
Reference in New Issue
Block a user