diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-03-09 01:23:16 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-03-28 16:34:11 +0100 |
commit | ebdf1490c3b42771c5d446336aeb99665d24b17e (patch) | |
tree | e3e8fe285749d6dac70690889aefd0c14a7e08cd /include | |
parent | 0faafc22a881696670426caf660be37e0e1effdc (diff) | |
download | gnumach-ebdf1490c3b42771c5d446336aeb99665d24b17e.tar.gz gnumach-ebdf1490c3b42771c5d446336aeb99665d24b17e.tar.bz2 gnumach-ebdf1490c3b42771c5d446336aeb99665d24b17e.zip |
include/mach/xen.h: Add 64bit variant
* include/mach/xen.h (PFN_LIST): Set to MACH2PHYS_VIRT_START.
Diffstat (limited to 'include')
-rw-r--r-- | include/mach/xen.h | 4 |
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 |