ia64/xen-unstable

view xen/include/asm-ia64/xensystem.h @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents 7ab45f1a6e83
children
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 0xf400000004000000
34 #define GATE_ADDR KERNEL_START
36 /* In order for Kexec between Xen and Linux to work EFI needs
37 * to be mapped into the same place by both. It seems most convenient
38 * to make Xen do the dirty work here */
39 #define __IA64_EFI_UNCACHED_OFFSET 0xc000000000000000UL
40 #define __IA64_EFI_CACHED_OFFSET 0xe000000000000000UL
42 #define IS_VMM_ADDRESS(addr) ((((addr) >> 60) ^ ((addr) >> 59)) & 1)
44 #endif // _ASM_IA64_XENSYSTEM_H