aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/xencomm.h
Commit message (Collapse)AuthorAgeFilesLines
* xen: introduce XEN_GUEST_HANDLE_PARAMStefano Stabellini2012-10-171-1/+21
| | | | | | | | | | | | | | XEN_GUEST_HANDLE_PARAM is going to be used to distinguish guest pointers stored in memory from guest pointers as hypercall parameters. guest_handle_* macros default to XEN_GUEST_HANDLE_PARAM as return type. Two new guest_handle_to_param and guest_handle_from_param macros are introduced to do conversions. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* Introduce clear_user and clear_guestStefano Stabellini2012-01-231-0/+24
| | | | | | | | | | | | Introduce clear_user for x86 and ia64, shamelessly taken from Linux. The x86 version is the 32 bit clear_user implementation. Introduce clear_guest for x86 and ia64. The x86 implementation is based on clear_user and a new clear_user_hvm function. The ia64 implementation is actually in xencomm and it is based on xencomm_copy_to_guest. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Jan Beulich <JBeulich@suse.com> Committed-by: Keir Fraser <keir@xen.org>
* Introduce guest_handle_subrange_okay() for checking sub-sections of anKeir Fraser2008-06-131-0/+1
| | | | | | | | argument array. Needed where a compat shim is splitting up a 32-bit guest's larger argument array, and only the currently-active part of the translated array is contained within the compat_arg_xlat_area. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* xencomm: add support for log dirty modeKeir Fraser2008-04-071-0/+8
| | | | Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* xencomm: Fix for code style.kfraser@localhost.localdomain2007-08-141-8/+7
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Enhance guest memory accessor macros so that source operands can bekfraser@localhost.localdomain2007-06-201-20/+23
| | | | | | | | | | | pointers to const or arrays. Only build-tested on ia64, and untested for powerpc (which, however, is almost identical to ia64, except for an apparent bug in the original version of __copy_field_{from,to}_guest in that the field offset was multiplied by the field size). Signed-off-by: Jan Beulich <jbeulich@novell.com>
* [POWERPC] Merge in outstanding changes from xenppc-unstable.hg.Hollis Blanchard2006-12-121-0/+115
It's a long story, but basically a small divergence in xenppc-unstable meant a large number of changesets couldn't be directly imported to xen-unstable, so this changeset includes all of them. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>