diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-12-03 09:36:47 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-12-03 09:36:47 +0000 |
commit | f32797d3310d8eb1851b07249f5270f1be1ae39a (patch) | |
tree | e7ff4931b1e93f6bdf2a0771b0bc5a1cf319fba0 /tools/libxc/xenctrlosdep.h | |
parent | 2e04f9622fa58db6a5f4a1f8242877af25429db6 (diff) | |
download | xen-f32797d3310d8eb1851b07249f5270f1be1ae39a.tar.gz xen-f32797d3310d8eb1851b07249f5270f1be1ae39a.tar.bz2 xen-f32797d3310d8eb1851b07249f5270f1be1ae39a.zip |
libxc: osdep: convert xc_map_foreign_{batch,bulk}
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxc/xenctrlosdep.h')
-rw-r--r-- | tools/libxc/xenctrlosdep.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/libxc/xenctrlosdep.h b/tools/libxc/xenctrlosdep.h index 59928fb7b7..204b9e87e9 100644 --- a/tools/libxc/xenctrlosdep.h +++ b/tools/libxc/xenctrlosdep.h @@ -63,6 +63,11 @@ struct xc_osdep_ops union { struct { int (*hypercall)(xc_interface *xch, xc_osdep_handle h, privcmd_hypercall_t *hypercall); + + void *(*map_foreign_batch)(xc_interface *xch, xc_osdep_handle h, uint32_t dom, int prot, + xen_pfn_t *arr, int num); + void *(*map_foreign_bulk)(xc_interface *xch, xc_osdep_handle h, uint32_t dom, int prot, + const xen_pfn_t *arr, int *err, unsigned int num); } privcmd; } u; }; @@ -83,6 +88,11 @@ typedef struct xc_osdep_info xc_osdep_info_t; /* All backends, including the builtin backend, must supply this structure. */ extern xc_osdep_info_t xc_osdep_info; +/* Stub for not yet converted OSes */ +void *xc_map_foreign_bulk_compat(xc_interface *xch, xc_osdep_handle h, + uint32_t dom, int prot, + const xen_pfn_t *arr, int *err, unsigned int num); + #endif /* |