summaryrefslogtreecommitdiffstats
path: root/arch/arm/xen/Makefile
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-09-14 13:33:21 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-09-14 13:33:21 +0000
commitaa2466d21bd9e872690693d56feb946781443f28 (patch)
tree34f64dd0079bb963d8616cfed5c073914fbf2808 /arch/arm/xen/Makefile
parent4c071ee5268f7234c3d084b6093bebccc28cdcba (diff)
downloadlinux-aa2466d21bd9e872690693d56feb946781443f28.tar.bz2
xen/arm: hypercalls
Use r12 to pass the hypercall number to the hypervisor. We need a register to pass the hypercall number because we might not know it at compile time and HVC only takes an immediate argument. Among the available registers r12 seems to be the best choice because it is defined as "intra-procedure call scratch register". Use the ISS to pass an hypervisor specific tag. Changes in v2: - define an HYPERCALL macro for 5 arguments hypercall wrappers, even if at the moment is unused; - use ldm instead of pop; - fix up comments. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/arm/xen/Makefile')
-rw-r--r--arch/arm/xen/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/xen/Makefile b/arch/arm/xen/Makefile
index 0bad594b1490..b9d6acc45650 100644
--- a/arch/arm/xen/Makefile
+++ b/arch/arm/xen/Makefile
@@ -1 +1 @@
-obj-y := enlighten.o
+obj-y := enlighten.o hypercall.o