hi OSv developers,
Here let me present you with some little work to allow OSv kernel to be loaded
under Xen hypervisor on AARCH64 platform.

This is basic stuff, which allows to initialise kernel and see log messages.
No SMP support yet, no heavy PV drivers yet and no application can be run.

Verified on Renesas R-Car board [1] and on qemu-aarch64 (for not to break 
anything)

[1] http://elinux.org/R-Car/Boards/Salvator-X

Makefile | 5 ++++-
arch/aarch64/arch-dtb.cc | 9 ++++++++-
arch/aarch64/arch-dtb.hh | 7 +++++++
arch/aarch64/arch-mmu.hh | 2 +-
arch/aarch64/arch-setup.cc | 84 
++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------
arch/aarch64/boot.S | 3 +++
arch/aarch64/early-console.cc | 22 ++++++++++++++++++++--
arch/aarch64/early-console.hh | 24 ++++++++++++++++++++++--
arch/aarch64/hypercall.S | 30 ++++++++++++++++++++++++++++++
arch/aarch64/preboot.S | 17 +++++++++++++++++
arch/aarch64/xen.cc | 27 +++++++++++++++++++++++++++
arch/aarch64/xen.hh | 17 +++++++++++++++++
bsd/aarch64/machine/xen/hypercall.h | 73 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bsd/sys/xen/hypervisor.h | 4 ++--
bsd/sys/xen/interface/arch-aarch64.h | 52 
++++++++++++++++++++++++++++++++++++++++++++++++++++
bsd/sys/xen/interface/xen.h | 2 ++
compiler/include/intrinsics.hh | 2 +-
drivers/xenconsole.cc | 36 ++++++++++++++++++++++++++++++++++++
drivers/xenconsole.hh | 31 +++++++++++++++++++++++++++++++
19 files changed, 403 insertions(+), 44 deletions(-)

--
regards,
Sergiy

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to