ia64/xen-unstable

changeset 18082:7ab45f1a6e83

[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@free.fr>
Cc: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: Alex Williamson <alex.williamson@hp.com>
Cc: Aron Griffis <aron@hp.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Tue Jul 22 12:15:02 2008 +0900 (2008-07-22)
parents 4d5de1e4d85a
children b2d2bc30a04b
files xen/include/asm-ia64/xensystem.h
line diff
     1.1 --- a/xen/include/asm-ia64/xensystem.h	Tue Jul 22 12:15:02 2008 +0900
     1.2 +++ b/xen/include/asm-ia64/xensystem.h	Tue Jul 22 12:15:02 2008 +0900
     1.3 @@ -33,6 +33,12 @@
     1.4  #define KERNEL_START		 0xf400000004000000
     1.5  #define GATE_ADDR		 KERNEL_START
     1.6  
     1.7 +/* In order for Kexec between Xen and Linux to work EFI needs
     1.8 + * to be mapped into the same place by both. It seems most convenient
     1.9 + * to make Xen do the dirty work here */
    1.10 +#define __IA64_EFI_UNCACHED_OFFSET	0xc000000000000000UL
    1.11 +#define __IA64_EFI_CACHED_OFFSET	0xe000000000000000UL
    1.12 +
    1.13  #define IS_VMM_ADDRESS(addr) ((((addr) >> 60) ^ ((addr) >> 59)) & 1)
    1.14  
    1.15  #endif // _ASM_IA64_XENSYSTEM_H