[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] kexec: define EFI offsets for identity mapping



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1216696502 -32400
# Node ID 7ab45f1a6e83fb56bca18ea9126a1a64d6115293
# Parent  4d5de1e4d85a2380bfd2eed38b1fa5c88224669c
[IA64] kexec: define EFI offsets for identity mapping

This is used by paches that move the EFI runtime regions into what is
normally guest space.  A description of why this mapping is made is
included in the patch that makes the mapping.

Cc: Tristan Gingold <tgingold@xxxxxxx>
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Cc: Alex Williamson <alex.williamson@xxxxxx>
Cc: Aron Griffis <aron@xxxxxx>
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 xen/include/asm-ia64/xensystem.h |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r 4d5de1e4d85a -r 7ab45f1a6e83 xen/include/asm-ia64/xensystem.h
--- a/xen/include/asm-ia64/xensystem.h  Tue Jul 22 12:15:02 2008 +0900
+++ b/xen/include/asm-ia64/xensystem.h  Tue Jul 22 12:15:02 2008 +0900
@@ -33,6 +33,12 @@
 #define KERNEL_START            0xf400000004000000
 #define GATE_ADDR               KERNEL_START
 
+/* In order for Kexec between Xen and Linux to work EFI needs
+ * to be mapped into the same place by both. It seems most convenient
+ * to make Xen do the dirty work here */
+#define __IA64_EFI_UNCACHED_OFFSET     0xc000000000000000UL
+#define __IA64_EFI_CACHED_OFFSET       0xe000000000000000UL
+
 #define IS_VMM_ADDRESS(addr) ((((addr) >> 60) ^ ((addr) >> 59)) & 1)
 
 #endif // _ASM_IA64_XENSYSTEM_H

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.