aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core_x86.h
diff options
context:
space:
mode:
authorIan Jackson <Ian.Jackson@eu.citrix.com>2010-06-25 15:43:50 +0100
committerIan Jackson <Ian.Jackson@eu.citrix.com>2010-06-25 15:43:50 +0100
commitddf97d4db83f628d7763b394d7f334bc8a8b3e3f (patch)
tree3bd94c176f7bb52a9d77cf2c1cab98ad553ea4ff /tools/libxc/xc_core_x86.h
parenta2fab4fce5401b510d237fd12d12a5382c5091b0 (diff)
downloadxen-ddf97d4db83f628d7763b394d7f334bc8a8b3e3f.tar.gz
xen-ddf97d4db83f628d7763b394d7f334bc8a8b3e3f.tar.bz2
xen-ddf97d4db83f628d7763b394d7f334bc8a8b3e3f.zip
libxc: Fix ia64 build for interface change
This patch fixes ia64 by the following method: - rename xc_handle xch - rename guest_xc xch - add xc_interface *xch to arguments of some functions - replace xc_dom_printf with macros - Add *xch argument to corresponding x86 functions [iwj] Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_core_x86.h')
-rw-r--r--tools/libxc/xc_core_x86.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/libxc/xc_core_x86.h b/tools/libxc/xc_core_x86.h
index a6144ff5ac..8963842a62 100644
--- a/tools/libxc/xc_core_x86.h
+++ b/tools/libxc/xc_core_x86.h
@@ -32,13 +32,14 @@ struct xc_core_arch_context {
#define xc_core_arch_context_free(arch_ctxt) do {} while (0)
#define xc_core_arch_context_get(arch_ctxt, ctxt, xch, domid) \
(0)
-#define xc_core_arch_context_dump(arch_ctxt, args, dump_rtn) (0)
+#define xc_core_arch_context_dump(xch, arch_ctxt, args, dump_rtn) (0)
int
xc_core_arch_gpfn_may_present(struct xc_core_arch_context *arch_ctxt,
unsigned long pfn);
static inline int
-xc_core_arch_context_get_shdr(struct xc_core_arch_context *arch_ctxt,
+xc_core_arch_context_get_shdr(xc_interface *xch,
+ struct xc_core_arch_context *arch_ctxt,
struct xc_core_section_headers *sheaders,
struct xc_core_strtab *strtab,
uint64_t *filesz, uint64_t offset)