tmp_suning_uos_patched/include/asm-x86/xen
Jeremy Fitzhardinge e74359028d xen64: fix calls into hypercall page
The 64-bit calling convention for hypercalls uses different registers
from 32-bit.  Annoyingly, gcc's asm syntax doesn't have a way to
specify one of the extra numeric reigisters in a constraint, so we
must use explicitly placed register variables.  Given that we have to
do it for some args, may as well do it for all.

Also fix syntax gcc generates for the call instruction itself.  We
need a plain direct call, but the asm expansion which works on 32-bit
generates a rip-relative addressing mode in 64-bit, which is treated
as an indirect call.  The alternative is to pass the hypercall page
offset into the asm, and have it add it to the hypercall page start
address to generate the call.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-16 10:57:00 +02:00
..
events.h x86: convert to generic helpers for IPI function calls 2008-06-26 11:21:54 +02:00
grant_table.h xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one 2008-04-24 23:57:32 +02:00
hypercall.h xen64: fix calls into hypercall page 2008-07-16 10:57:00 +02:00
hypervisor.h i386/x86_64: move headers to include/asm-x86 2007-10-11 11:20:03 +02:00
interface_32.h xen64: define asm/xen/interface for 64-bit 2008-07-16 10:56:18 +02:00
interface_64.h xen64: define asm/xen/interface for 64-bit 2008-07-16 10:56:18 +02:00
interface.h xen64: define asm/xen/interface for 64-bit 2008-07-16 10:56:18 +02:00
page.h xen: remove support for non-PAE 32-bit 2008-06-24 17:00:55 +02:00