diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-06-13 13:49:56 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-06-13 13:49:56 +0100 |
commit | faef567a6b88dac76e1b56be0fff33c52211330c (patch) | |
tree | 4cdc73eb7f82ebf2d18db98e1fb580d45d8debe3 /xen/include/xen/xencomm.h | |
parent | a01be666f18b2b2c0f423199db8afc503d52ab78 (diff) | |
download | xen-faef567a6b88dac76e1b56be0fff33c52211330c.tar.gz xen-faef567a6b88dac76e1b56be0fff33c52211330c.tar.bz2 xen-faef567a6b88dac76e1b56be0fff33c52211330c.zip |
Introduce guest_handle_subrange_okay() for checking sub-sections of an
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>
Diffstat (limited to 'xen/include/xen/xencomm.h')
-rw-r--r-- | xen/include/xen/xencomm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/xencomm.h b/xen/include/xen/xencomm.h index f044c74f99..bce2ca720d 100644 --- a/xen/include/xen/xencomm.h +++ b/xen/include/xen/xencomm.h @@ -62,6 +62,7 @@ static inline unsigned long xencomm_inline_addr(const void *handle) /* Since we run in real mode, we can safely access all addresses. That also * means our __routines are identical to our "normal" routines. */ #define guest_handle_okay(hnd, nr) 1 +#define guest_handle_subrange_okay(hnd, first, last) 1 /* * Copy an array of objects to guest context via a guest handle. |