summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-09 01:23:16 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-03-28 16:34:11 +0100
commitebdf1490c3b42771c5d446336aeb99665d24b17e (patch)
treee3e8fe285749d6dac70690889aefd0c14a7e08cd
parent0faafc22a881696670426caf660be37e0e1effdc (diff)
include/mach/xen.h: Add 64bit variant
* include/mach/xen.h (PFN_LIST): Set to MACH2PHYS_VIRT_START.
-rw-r--r--include/mach/xen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mach/xen.h b/include/mach/xen.h
index 6fc626f2..44620820 100644
--- a/include/mach/xen.h
+++ b/include/mach/xen.h
@@ -48,11 +48,15 @@ extern unsigned long la_shift;
#define la_to_kv(a) phystokv(la_to_pa(a))
#ifdef MACH_PSEUDO_PHYS
+#ifdef __i386__
#if PAE
#define PFN_LIST MACH2PHYS_VIRT_START_PAE
#else
#define PFN_LIST MACH2PHYS_VIRT_START_NONPAE
#endif
+#else
+#define PFN_LIST MACH2PHYS_VIRT_START
+#endif
#if VM_MIN_KERNEL_ADDRESS != LINEAR_MIN_KERNEL_ADDRESS
extern unsigned long *pfn_list;
#else