aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_private.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 14:36:12 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 14:36:12 +0000
commite74411be0bfc740c14e2bd2fb9179c8d2708a2cc (patch)
treea87fb81a0670bae0c9234541f1a04332e0c0b0b6 /tools/libxc/xc_private.h
parent060fe1405f9717a6d83692504b0f704208d66dd8 (diff)
downloadxen-e74411be0bfc740c14e2bd2fb9179c8d2708a2cc.tar.gz
xen-e74411be0bfc740c14e2bd2fb9179c8d2708a2cc.tar.bz2
xen-e74411be0bfc740c14e2bd2fb9179c8d2708a2cc.zip
[LIBXC] Convert between byte-based and 64-bit bitmap arrays. Use this
for conversion of the domctl_cpumap. Original patch from Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r--tools/libxc/xc_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index 6dfbdead7a..7705063326 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -155,4 +155,7 @@ void *map_domain_va_core(unsigned long domfd, int cpu, void *guest_va,
int xc_waitdomain_core(int xc_handle, int domain, int *status,
int options, vcpu_guest_context_t *ctxt);
+void bitmap_64_to_byte(uint8_t *bp, const uint64_t *lp, int nbits);
+void bitmap_byte_to_64(uint64_t *lp, const uint8_t *bp, int nbits);
+
#endif /* __XC_PRIVATE_H__ */