aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xenctrl.h
diff options
context:
space:
mode:
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-01-10 15:38:08 +0000
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-01-10 15:38:08 +0000
commitb4ec697c64c6f29e9593ae22c66dd8d47dc35a39 (patch)
treedf60e653fc7e68e32efdb72fac7373616fd36545 /tools/libxc/xenctrl.h
parente9f7017afe06053b9f2fa297b4076cffcfbba6e2 (diff)
downloadxen-b4ec697c64c6f29e9593ae22c66dd8d47dc35a39.tar.gz
xen-b4ec697c64c6f29e9593ae22c66dd8d47dc35a39.tar.bz2
xen-b4ec697c64c6f29e9593ae22c66dd8d47dc35a39.zip
Fix types used in xc_memshr_* functions
Currently the memshr functions use uint32_t for the domid. This actually leads to a funny domid_t -> uint32_t -> domid_t sequence of casts. This patch updates the API functions to be domid_t in the first place. No tools need to be modified with this patch, the casts were implicit. Signed-off-by: Adin Scannell <adin@scannell.ca> Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r--tools/libxc/xenctrl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h
index 1e149c13c0..8b347697cc 100644
--- a/tools/libxc/xenctrl.h
+++ b/tools/libxc/xenctrl.h
@@ -1880,29 +1880,29 @@ int xc_mem_access_resume(xc_interface *xch, domid_t domain_id,
* memshr operations
*/
int xc_memshr_control(xc_interface *xch,
- uint32_t domid,
+ domid_t domid,
int enable);
int xc_memshr_nominate_gfn(xc_interface *xch,
- uint32_t domid,
+ domid_t domid,
unsigned long gfn,
uint64_t *handle);
int xc_memshr_nominate_gref(xc_interface *xch,
- uint32_t domid,
+ domid_t domid,
grant_ref_t gref,
uint64_t *handle);
int xc_memshr_share(xc_interface *xch,
uint64_t source_handle,
uint64_t client_handle);
int xc_memshr_domain_resume(xc_interface *xch,
- uint32_t domid);
+ domid_t domid);
int xc_memshr_debug_gfn(xc_interface *xch,
- uint32_t domid,
+ domid_t domid,
unsigned long gfn);
int xc_memshr_debug_mfn(xc_interface *xch,
- uint32_t domid,
+ domid_t domid,
unsigned long mfn);
int xc_memshr_debug_gref(xc_interface *xch,
- uint32_t domid,
+ domid_t domid,
grant_ref_t gref);
int xc_flask_load(xc_interface *xc_handle, char *buf, uint32_t size);