[x86] Move generic mmu code to seperate file.

The generic mmu code can be reused for guest handling
so move that in a seperate file.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
[x86] Fix atomic operations for x86

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
[x86] Move common x86 files under common directory.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Acked-by: Anup Patel <anup@brainfault.org>
[x86] Increase the boot page table size.

Since the VAPOOL moved to 16MB from 8MB, the boot
page tables need to be increased too. Currently this
was the reason of actual machines not coming up with
current Xvisor.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Acked-by: Anup Patel <anup@brainfault.org>
[x86]  Add support for board reset via keyboard.

We don't enable the ACPI yet on x86 but only parse
the tables. Until that is enabled and tested, the
reset is via the keyboard which toggles the CPU
reset pin. So this is not a board reset per se...

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Acked-by: Anup Patel <anup@brainfault.org>