aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-01 14:13:53 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-01 14:13:53 +0100
commit1472f8177f8ec6d81b471d678cf22e04c36e1a2a (patch)
tree9843b9100fe183bf09a8979026d1da24b2d00d14 /tools/libxc/xc_core.h
parent8b9c6bce94a7bc9341a4943c12457f4a419b4c17 (diff)
downloadxen-1472f8177f8ec6d81b471d678cf22e04c36e1a2a.tar.gz
xen-1472f8177f8ec6d81b471d678cf22e04c36e1a2a.tar.bz2
xen-1472f8177f8ec6d81b471d678cf22e04c36e1a2a.zip
libxc: Export xc_core_arch_map_p2m_writable()
This patch firstly change the xc_core_arch_map_p2m() to map the p2m to be writable, then it export this function. One notice for this patch is, caller should make sure change the p2m in flight will not cause trouble. Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Diffstat (limited to 'tools/libxc/xc_core.h')
-rw-r--r--tools/libxc/xc_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxc/xc_core.h b/tools/libxc/xc_core.h
index d148732f13..b6d9138ae6 100644
--- a/tools/libxc/xc_core.h
+++ b/tools/libxc/xc_core.h
@@ -143,6 +143,11 @@ int xc_core_arch_map_p2m(int xc_handle, unsigned int guest_width,
xc_dominfo_t *info, shared_info_any_t *live_shinfo,
xen_pfn_t **live_p2m, unsigned long *pfnp);
+int xc_core_arch_map_p2m_writable(int xc_handle, unsigned int guest_width,
+ xc_dominfo_t *info,
+ shared_info_any_t *live_shinfo,
+ xen_pfn_t **live_p2m, unsigned long *pfnp);
+
#if defined (__i386__) || defined (__x86_64__)
# include "xc_core_x86.h"