[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2 10/18] xen: setup hypercall page for PVH
From: |
Andrew Cooper |
Subject: |
Re: [Xen-devel] [PATCH v2 10/18] xen: setup hypercall page for PVH |
Date: |
Fri, 19 Oct 2018 13:48:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 19/10/18 13:30, Daniel Kiper wrote:
> On Tue, Oct 09, 2018 at 01:03:09PM +0200, Juergen Gross wrote:
>> +
>> + __arg0 = a0;
>> + __arg1 = a1;
>> + __arg2 = a2;
>> + __arg3 = a3;
>> + __arg4 = a4;
>> + asm volatile ("call *%[callno]"
>> + : "=r" (__res), "+r" (__arg0), "+r" (__arg1), "+r" (__arg2),
>> + "+r" (__arg3), "+r" (__arg4)
>> + : [callno] "a" (&hypercall_page[callno])
>> + : "memory");
call hypercall_page + %c[offset]
passing [offset] "i" (callno * 32)
which gives you a direct call, rather than an indirect one.
~Andrew
- Re: [Xen-devel] [PATCH v2 08/18] xen: add basic hooks for PVH in current code, (continued)
[PATCH v2 05/18] xen: add some dummy headers for PVH mode, Juergen Gross, 2018/10/09
[PATCH v2 11/18] xen: get memory map from hypervisor for PVH, Juergen Gross, 2018/10/09
[PATCH v2 10/18] xen: setup hypercall page for PVH, Juergen Gross, 2018/10/09
[PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/09
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/18