ia64/xen-unstable

view xen/include/asm-ia64/xensystem.h @ 10444:bf396988059e

[IA64] Allow guest to set the address of shared_info.

Add a new hypercall: SET_SHARED_INFO_VA.
Cleanup of asm-xsi-offsets: do not define absolute address, use a new macro.
Cleanup of linux asm-offsets: use a macro for xen mapped regs.
xensetup.S: set the shared_info address (disabled if using compatibility).
privop.h: May redefined XSI_BASE (not yet enabled for compatibility).
Vocabulary coherence: use XMAPPEDREGS_ prefix.
Cleanup of xensystem.h

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Fri Jun 23 09:46:39 2006 -0600 (2006-06-23)
parents ced37bea0647
children b58e767fafb3
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>
14 #include <linux/kernel.h>
16 /* Define HV space hierarchy.
17 VMM memory space is protected by CPL for paravirtualized domains and
18 by VA for VTi domains. VTi imposes VA bit 60 != VA bit 59 for VMM. */
20 #define HYPERVISOR_VIRT_START 0xe800000000000000
21 #define KERNEL_START 0xf000000004000000
22 #define DEFAULT_SHAREDINFO_ADDR 0xf100000000000000
23 #define PERCPU_ADDR (DEFAULT_SHAREDINFO_ADDR - PERCPU_PAGE_SIZE)
24 #define VHPT_ADDR 0xf200000000000000
25 #ifdef CONFIG_VIRTUAL_FRAME_TABLE
26 #define VIRT_FRAME_TABLE_ADDR 0xf300000000000000
27 #define VIRT_FRAME_TABLE_END 0xf400000000000000
28 #endif
29 #define HYPERVISOR_VIRT_END 0xf800000000000000
31 #define PAGE_OFFSET __IA64_UL_CONST(0xf000000000000000)
32 #define __IA64_UNCACHED_OFFSET 0xe800000000000000UL
34 #define IS_VMM_ADDRESS(addr) ((((addr) >> 60) ^ ((addr) >> 59)) & 1)
36 #endif // _ASM_IA64_XENSYSTEM_H