aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/usercopy.c
Commit message (Collapse)AuthorAgeFilesLines
* x86: rework hypercall argument translation area setupJan Beulich2013-02-281-1/+1
| | | | | | | | | | | | | | ... using the new per-domain mapping management functions, adding destroy_perdomain_mapping() to the previously introduced pair. Rather than using an order-1 Xen heap allocation, use (currently 2) individual domain heap pages to populate space in the per-domain mapping area. Also fix a benign off-by-one mistake in is_compat_arg_xlat_range(). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* Fix emacs local variable block to use correct C style variable.David Vrabel2013-02-211-1/+1
| | | | | | | The emacs variable to set the C style from a local variable block is c-file-style, not c-set-style. Signed-off-by: David Vrabel <david.vrabel@citrix.com
* Introduce clear_user and clear_guestStefano Stabellini2012-01-231-0/+36
| | | | | | | | | | | | 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>
* x86-64: use PC-relative exception table entriesKeir Fraser2010-12-241-12/+6
| | | | | | | | | | | | | ... thus allowing to make the entries half their current size. Rather than adjusting all instances to the new layout, abstract the construction the table entries via a macro (paralleling a similar one in recent Linux). Also change the name of the section (to allow easier detection of missed cases) and merge the final resulting output sections into .data.read_mostly. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* x86: Clean up some files of inline asm, and fixKeir Fraser2007-11-161-80/+94
| | | | | | | __copy_{to,from}_user_ll() for gcc 3.4 (asm output constraints all need to be '=&'). Based on a patch by Jan Beulich. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* bitkeeper revision 1.1682 (42a42b05Cvw3LyFcUHH4i1_9HWbLBA)kaf24@firebug.cl.cam.ac.uk2005-06-061-0/+139
| | | | | | Merge x86/32 and x86/64 usercopy routines. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1041.6.6 (40e96d3bioFNWNS55cowRl9PXLQZ9Q)kaf24@scramble.cl.cam.ac.uk2004-07-051-190/+0
| | | | | More x86-64 stuff.
* bitkeeper revision 1.952 (40c8935a3XSRdQfnx5RoO7XgaggvOQ)kaf24@scramble.cl.cam.ac.uk2004-06-101-0/+190
Towards x86_64 support. Merged a bunch of the existing x86_64 stuff back into a generic 'x86' architecture. Aim is to share as much as possible between 32- and 64-bit worlds.