ia64/xen-unstable

changeset 7029:ecd6b2163193

First step toward building drivers/xen for ia64 out of sparse
author djm@kirby.fc.hp.com
date Thu Sep 22 18:05:29 2005 -0600 (2005-09-22)
parents b6ee1d1cdc93
children 7ddfb9a44972
files linux-2.6-xen-sparse/arch/ia64/Kconfig linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64 linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/Kconfig	Thu Sep 22 12:06:33 2005 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/Kconfig	Thu Sep 22 18:05:29 2005 -0600
     1.3 @@ -53,6 +53,18 @@ config XEN
     1.4  	  Enable Xen hypervisor support.  Resulting kernel runs
     1.5  	  both as a guest OS on Xen and natively on hardware.
     1.6  
     1.7 +config ARCH_XEN
     1.8 +	bool
     1.9 +	default y
    1.10 +	help
    1.11 +	  TEMP ONLY. Needs to be on for drivers/xen to build.
    1.12 +
    1.13 +config XEN_PRIVILEGED_GUEST
    1.14 +	bool
    1.15 +	default n
    1.16 +	help
    1.17 +	  Used in drivers/xen/privcmd.c.  Should go away?
    1.18 +
    1.19  config XEN_PHYSDEV_ACCESS
    1.20  	depends on XEN
    1.21  	bool
     2.1 --- a/linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64	Thu Sep 22 12:06:33 2005 -0600
     2.2 +++ b/linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64	Thu Sep 22 18:05:29 2005 -0600
     2.3 @@ -68,6 +68,8 @@ CONFIG_TIME_INTERPOLATION=y
     2.4  CONFIG_EFI=y
     2.5  CONFIG_GENERIC_IOMAP=y
     2.6  CONFIG_XEN=y
     2.7 +CONFIG_ARCH_XEN=y
     2.8 +CONFIG_XEN_PRIVILEGED_GUEST=y
     2.9  CONFIG_XEN_PHYSDEV_ACCESS=y
    2.10  CONFIG_XEN_BLKDEV_GRANT=y
    2.11  CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
     3.1 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h	Thu Sep 22 12:06:33 2005 -0600
     3.2 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h	Thu Sep 22 18:05:29 2005 -0600
     3.3 @@ -45,4 +45,9 @@ void force_evtchn_callback(void);
     3.4  
     3.5  #include <asm/hypercall.h>
     3.6  
     3.7 +// for drivers/xen/privcmd/privcmd.c
     3.8 +#define direct_remap_pfn_range(a,b,c,d,e,f) remap_pfn_range(a,b,c,d,e)
     3.9 +#define	pfn_to_mfn(x)	(x)
    3.10 +#define machine_to_phys_mapping 0
    3.11 +
    3.12  #endif /* __HYPERVISOR_H__ */