aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/lguest_hcall.h
diff options
context:
space:
mode:
authorMatias Zabaljauregui <zabaljauregui@gmail.com>2009-06-13 00:27:07 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-06-12 08:57:07 -0400
commitcefcad1773197523e11e18b669f245e6a8d32058 (patch)
tree2d94e3df551b3ee58c1ac89ed4872e2153496c05 /arch/x86/include/asm/lguest_hcall.h
parentebe0ba84f55950a89cb7af94c7ffc35ee3992f9e (diff)
lguest: Add support for kvm_hypercall4()
Add support for kvm_hypercall4(); PAE wants it. Signed-off-by: Matias Zabaljauregui <zabaljauregui at gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/include/asm/lguest_hcall.h')
-rw-r--r--arch/x86/include/asm/lguest_hcall.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/include/asm/lguest_hcall.h b/arch/x86/include/asm/lguest_hcall.h
index 05b9c198e4b..b14b3552a4d 100644
--- a/arch/x86/include/asm/lguest_hcall.h
+++ b/arch/x86/include/asm/lguest_hcall.h
@@ -35,8 +35,8 @@
35 * 35 *
36 * We use the KVM hypercall mechanism. Eighteen hypercalls are 36 * We use the KVM hypercall mechanism. Eighteen hypercalls are
37 * available: the hypercall number is put in the %eax register, and the 37 * available: the hypercall number is put in the %eax register, and the
38 * arguments (when required) are placed in %ebx, %ecx and %edx. If a return 38 * arguments (when required) are placed in %ebx, %ecx, %edx and %esi.
39 * value makes sense, it's returned in %eax. 39 * If a return value makes sense, it's returned in %eax.
40 * 40 *
41 * Grossly invalid calls result in Sudden Death at the hands of the vengeful 41 * Grossly invalid calls result in Sudden Death at the hands of the vengeful
42 * Host, rather than returning failure. This reflects Winston Churchill's 42 * Host, rather than returning failure. This reflects Winston Churchill's
@@ -48,8 +48,9 @@
48 48
49#define LHCALL_RING_SIZE 64 49#define LHCALL_RING_SIZE 64
50struct hcall_args { 50struct hcall_args {
51 /* These map directly onto eax, ebx, ecx, edx in struct lguest_regs */ 51 /* These map directly onto eax, ebx, ecx, edx and esi
52 unsigned long arg0, arg1, arg2, arg3; 52 * in struct lguest_regs */
53 unsigned long arg0, arg1, arg2, arg3, arg4;
53}; 54};
54 55
55#endif /* !__ASSEMBLY__ */ 56#endif /* !__ASSEMBLY__ */