Attempt to reduce the assembly code used by the Xen PVH entry point, by moving
the page table creation and GDT definitions to C. Such code needs to be built
in 32 bit mode, and linked specially so that VMA == LMA, because the code is
run in 32 bit protected mode (no page-tables).
This is in preparation for adding support for the FreeBSD binary being
relocatable when loaded from Xen, at which point bootstrap page table creation
would be more complicated, and hence better done in C.
The current code however cannot be committed, because Elftoolchain objcopy
segfaults when dong the conversion from elf32-i386 -> elf64-x86-64. LLVM
objcopy however works fine, hence this is blocked until LLVM objcopy has
replaced elftoolchain objcopy in base.
Sponsored by: Cloud Software Group