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 | e4371c99d8dcff34d8f2699e3cccbd80a0a24876 (patch) | |
tree | 8cfe32dbcf12e672fd25b40831c3d120de36f837 /tools/libxc/xc_gnttab.c | |
parent | fcc007081b6e549911b83605cbffbfe8d651f5f8 (diff) | |
download | xen-e4371c99d8dcff34d8f2699e3cccbd80a0a24876.tar.gz xen-e4371c99d8dcff34d8f2699e3cccbd80a0a24876.tar.bz2 xen-e4371c99d8dcff34d8f2699e3cccbd80a0a24876.zip |
libxc: osdep: convert xc_gnttab_munmap()
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxc/xc_gnttab.c')
-rw-r--r-- | tools/libxc/xc_gnttab.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/libxc/xc_gnttab.c b/tools/libxc/xc_gnttab.c index e39502f228..eb78d01327 100644 --- a/tools/libxc/xc_gnttab.c +++ b/tools/libxc/xc_gnttab.c @@ -174,6 +174,15 @@ void *xc_gnttab_map_domain_grant_refs(xc_gnttab *xcg, count, domid, refs, prot); } +int xc_gnttab_munmap(xc_gnttab *xcg, + void *start_address, + uint32_t count) +{ + return xcg->ops->u.gnttab.munmap(xcg, xcg->ops_handle, + start_address, count); +} + + /* * Local variables: * mode: C |