[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Bare-metal Xen on ARM boot

On Wed, 2013-04-24 at 10:39 +0100, Sander Bogaert wrote:

> I attached the code ( it's very small).

> .global hvcConsoleIO
> hvcConsoleIO:
>   PUSH {r12}
>   MOV  r12, #3
>   HVC  #0xEA1
>   POP  {r12}
>   BX   lr

appears to be calling __HYPERVISOR_stack_switch which isn't a supported
hypercall on ARM.

Perhaps you wanted:
#define __HYPERVISOR_console_io           18

Also r12 is defined to be clobbered by any function call, so you don't
really need to save it I don't think.

The only thing you should need to save when making a hypercall is r4 and
only if you are making a 5 argument hypercall.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.