x86: pte: Add page mapping code.

On a quick note, only checked if it compiled, no further testing was
done so far.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>