On Fri, Jan 20, 2017 at 8:57 AM, Roman Shaposhnik
wrote:
> Hi Sergiy!
>
> this is super cool -- I've been very interested in seeing resurrected
support for OSv on Xen/ARM
>
+1!
> for a different project I'm working on. Would love to take a look at your
> code.
>
>
Hi Sergiy!
this is super cool -- I've been very interested in seeing resurrected
support for OSv on Xen/ARM
for a different project I'm working on. Would love to take a look at your code.
Speaking of which -- did you forget to attach a patch or a link to
your GH repo? The
only link I see is the
In case Xen is detected use xenconsole driver for output, otherwise
fallback to pl011 for backwards compatibility.
Signed-off-by: Sergiy Kibrik
---
Makefile | 2 ++
arch/aarch64/arch-setup.cc| 20 ++--
Start device range from 0x300 so that aarch64 Xen guest can map gic.
This seems to be lowest address required.
Signed-off-by: Sergiy Kibrik
---
arch/aarch64/arch-mmu.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: Sergiy Kibrik
---
arch/aarch64/hypercall.S | 30 ++
1 file changed, 30 insertions(+)
create mode 100644 arch/aarch64/hypercall.S
diff --git a/arch/aarch64/hypercall.S b/arch/aarch64/hypercall.S
new file mode 100644
index
Signed-off-by: Sergiy Kibrik
---
bsd/aarch64/machine/xen/hypercall.h | 73
bsd/sys/xen/interface/arch-aarch64.h | 52 +
bsd/sys/xen/interface/xen.h | 2 +
3 files changed, 127 insertions(+)
Primitive driver that uses HYPERVISOR_console_io hypercall to provide early
console.
Signed-off-by: Sergiy Kibrik
---
drivers/xenconsole.cc | 36
drivers/xenconsole.hh | 31 +++
2 files changed, 67
Continue boot if PCI host not found in DTB, as not every platform provides it,
namely non-x86 Xen guests doesn't seem to support PV PCI yet.
Signed-off-by: Sergiy Kibrik
---
arch/aarch64/arch-dtb.cc | 1 -
arch/aarch64/arch-setup.cc | 64
__ASSEMBLER__ definition is used extensively throughout bsd/ tree so
make ASFLAGS compatible with its usage.
Signed-off-by: Sergiy Kibrik
---
Makefile | 2 +-
compiler/include/intrinsics.hh | 2 +-
2 files changed, 2 insertions(+), 2
Modify HYPERVISOR_console_write() interface to accept const *char as argument,
so it is compliant with console::console_driver::write() interface.
Xen does not mangle input buffer upon CONSOLEIO_write hypercall.
Signed-off-by: Sergiy Kibrik
---
10 matches
Mail list logo