ia64/xen-unstable

view xen/include/asm-ia64/xensystem.h @ 15325:855fe0bf6590

[IA64] Change virtual address of XEN UC indentity area.

This slightly simplifies the code and makes flexible map possible.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Tue Jun 12 15:20:06 2007 -0600 (2007-06-12)
parents c4256be388cc
children c17bfb091790
line source
1 #ifndef _ASM_IA64_XENSYSTEM_H
2 #define _ASM_IA64_XENSYSTEM_H
3 /*
4 * xen specific context definition
5 *
6 * Copyright (C) 2005 Hewlett-Packard Co.
7 * Dan Magenheimer (dan.magenheimer@hp.com)
8 *
9 * Copyright (C) 2005 Intel Co.
10 * Kun Tian (Kevin Tian) <kevin.tian@intel.com>
11 *
12 */
13 #include <asm/config.h>
15 /* Define HV space hierarchy.
16 VMM memory space is protected by CPL for paravirtualized domains and
17 by VA for VTi domains. VTi imposes VA bit 60 != VA bit 59 for VMM. */
19 #define HYPERVISOR_VIRT_START 0xf000000000000000
20 #define __IA64_UNCACHED_OFFSET 0xf200000000000000UL
21 #define DEFAULT_SHAREDINFO_ADDR 0xf500000000000000
22 #define PERCPU_ADDR (DEFAULT_SHAREDINFO_ADDR - PERCPU_PAGE_SIZE)
23 #ifdef CONFIG_VIRTUAL_FRAME_TABLE
24 #define VIRT_FRAME_TABLE_ADDR 0xf600000000000000
25 #define VIRT_FRAME_TABLE_END 0xf700000000000000
26 #endif
27 #define HYPERVISOR_VIRT_END 0xf800000000000000
29 #define PAGE_OFFSET __IA64_UL_CONST(0xf000000000000000)
31 #define XEN_VIRT_UC_BIT 57
33 #define KERNEL_START 0xf000000004000000
34 #define GATE_ADDR KERNEL_START
36 #define IS_VMM_ADDRESS(addr) ((((addr) >> 60) ^ ((addr) >> 59)) & 1)
38 #endif // _ASM_IA64_XENSYSTEM_H