aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core_x86.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-01 13:53:14 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-01 13:53:14 +0000
commit60999322eb87ccd91f5208bdd684f1762d664c2e (patch)
tree6b08eb3020ecc7c0fc4828cfff3229154ffaa9b8 /tools/libxc/xc_core_x86.h
parentd47a8e863a56c4e2db18198ebfe21100be086b77 (diff)
downloadxen-60999322eb87ccd91f5208bdd684f1762d664c2e.tar.gz
xen-60999322eb87ccd91f5208bdd684f1762d664c2e.tar.bz2
xen-60999322eb87ccd91f5208bdd684f1762d664c2e.zip
libxc: create a domain_info_context structure to store guest_width and p2m_size for macros.
Macro now refers to guest_width and p2m_size through a dinfo pointer. Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_core_x86.h')
-rw-r--r--tools/libxc/xc_core_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_core_x86.h b/tools/libxc/xc_core_x86.h
index 739d90ef29..00955e23ea 100644
--- a/tools/libxc/xc_core_x86.h
+++ b/tools/libxc/xc_core_x86.h
@@ -22,7 +22,7 @@
#define XC_CORE_X86_H
#define ELF_ARCH_DATA ELFDATA2LSB
-#define ELF_ARCH_MACHINE (guest_width == 8 ? EM_X86_64 : EM_386)
+#define ELF_ARCH_MACHINE (dinfo->guest_width == 8 ? EM_X86_64 : EM_386)
struct xc_core_arch_context {
/* nothing */