debuggers.hg

changeset 19936:100b05eed0d5

32on64: increase size of compat argument translation area to 2 pages.

The existing single page is not quite large enough to translate a
XENMEM_exchange hypercall with order=3D9. Since Linux uses
MAX_CONTIG_ORDER of 9 this seems like a reasonable upper bound to
support.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jul 06 11:55:17 2009 +0100 (2009-07-06)
parents 3313efd1c367
children 7d5433600932
files xen/include/asm-x86/x86_64/uaccess.h
line diff
     1.1 --- a/xen/include/asm-x86/x86_64/uaccess.h	Mon Jul 06 11:55:01 2009 +0100
     1.2 +++ b/xen/include/asm-x86/x86_64/uaccess.h	Mon Jul 06 11:55:17 2009 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  #define __X86_64_UACCESS_H
     1.5  
     1.6  #define COMPAT_ARG_XLAT_VIRT_BASE this_cpu(compat_arg_xlat)
     1.7 -#define COMPAT_ARG_XLAT_SIZE      PAGE_SIZE
     1.8 +#define COMPAT_ARG_XLAT_SIZE      (2*PAGE_SIZE)
     1.9  DECLARE_PER_CPU(void *, compat_arg_xlat);
    1.10  int setup_compat_arg_xlat(unsigned int cpu, int node);
    1.11  #define is_compat_arg_xlat_range(addr, size) ({                               \