* @param vmAddress
*/
private final void mapPage(Address vmAddress, Address physAddr, Extent pageSize, boolean debug) {
// Setup the pdir structures
final Word pdirIdx = vmAddress.toWord().rshl(22);
final Address pdirEntryPtr = UnsafeX86.getCR3().add(pdirIdx.lsh(2));
Word entry = pdirEntryPtr.loadWord();
if (entry.and(Word.fromIntZeroExtend(PF_PRESENT)).isZero()) {
final Word pagePtr;
if (physAddr.isMax()) {
// Get a free page