Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756239Ab2BWRmh (ORCPT ); Thu, 23 Feb 2012 12:42:37 -0500 Received: from smtp.citrix.com ([66.165.176.89]:31087 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753441Ab2BWRmg (ORCPT ); Thu, 23 Feb 2012 12:42:36 -0500 X-IronPort-AV: E=Sophos;i="4.73,470,1325480400"; d="scan'208";a="22387545" From: Stefano Stabellini To: linux-kernel@vger.kernel.org CC: xen-devel@lists.xensource.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, linaro-dev@lists.linaro.org, david.vrabel@citrix.com, Ian.Campbell@citrix.com, Stefano Stabellini Subject: [PATCH-WIP 02/13] xen/arm: introduce privcmp, physdev_op and memory_op hypercalls. Date: Thu, 23 Feb 2012 17:48:23 +0000 Message-ID: <1330019314-20865-2-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1410 Lines: 46 Signed-off-by: Stefano Stabellini --- arch/arm/include/asm/xen/hypercall.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/xen/hypercall.h b/arch/arm/include/asm/xen/hypercall.h index 04eba1c..5abba48 100644 --- a/arch/arm/include/asm/xen/hypercall.h +++ b/arch/arm/include/asm/xen/hypercall.h @@ -187,4 +187,28 @@ HYPERVISOR_event_channel_op(int cmd, void *arg) return _hypercall2(int, HYPERCALL(event_channel_op), cmd, arg); } +static inline unsigned long HYPERVISOR_hvm_op(int op, void *arg) +{ + return -ENOSYS; +} + +static inline int +HYPERVISOR_memory_op(unsigned int cmd, void *arg) +{ + return _hypercall2(int, HYPERCALL(memory_op), cmd, arg); +} + +static inline int HYPERVISOR_physdev_op(int cmd, void *arg) +{ + return _hypercall2(int, HYPERCALL(physdev_op), cmd, arg); +} + +static inline long privcmd_call(unsigned call, + unsigned long a1, unsigned long a2, + unsigned long a3, unsigned long a4, + unsigned long a5) +{ + return _hypercall5(long, call, a1, a2, a3, a4, a5); +} + #endif /* _ASM_ARM_XEN_HYPERCALL_H */ -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/