[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] First step toward building drivers/xen for ia64 out of sparse



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID ecd6b2163193ff4e22949059344a9a377756e71c
# Parent  b6ee1d1cdc9336f9de595af7357d413419605117
First step toward building drivers/xen for ia64 out of sparse

diff -r b6ee1d1cdc93 -r ecd6b2163193 linux-2.6-xen-sparse/arch/ia64/Kconfig
--- a/linux-2.6-xen-sparse/arch/ia64/Kconfig    Thu Sep 22 18:06:33 2005
+++ b/linux-2.6-xen-sparse/arch/ia64/Kconfig    Fri Sep 23 00:05:29 2005
@@ -52,6 +52,18 @@
        help
          Enable Xen hypervisor support.  Resulting kernel runs
          both as a guest OS on Xen and natively on hardware.
+
+config ARCH_XEN
+       bool
+       default y
+       help
+         TEMP ONLY. Needs to be on for drivers/xen to build.
+
+config XEN_PRIVILEGED_GUEST
+       bool
+       default n
+       help
+         Used in drivers/xen/privcmd.c.  Should go away?
 
 config XEN_PHYSDEV_ACCESS
        depends on XEN
diff -r b6ee1d1cdc93 -r ecd6b2163193 
linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64
--- a/linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64 Thu Sep 22 
18:06:33 2005
+++ b/linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64 Fri Sep 23 
00:05:29 2005
@@ -68,6 +68,8 @@
 CONFIG_EFI=y
 CONFIG_GENERIC_IOMAP=y
 CONFIG_XEN=y
+CONFIG_ARCH_XEN=y
+CONFIG_XEN_PRIVILEGED_GUEST=y
 CONFIG_XEN_PHYSDEV_ACCESS=y
 CONFIG_XEN_BLKDEV_GRANT=y
 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
diff -r b6ee1d1cdc93 -r ecd6b2163193 
linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h
--- a/linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h        Thu Sep 
22 18:06:33 2005
+++ b/linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h        Fri Sep 
23 00:05:29 2005
@@ -45,4 +45,9 @@
 
 #include <asm/hypercall.h>
 
+// for drivers/xen/privcmd/privcmd.c
+#define direct_remap_pfn_range(a,b,c,d,e,f) remap_pfn_range(a,b,c,d,e)
+#define        pfn_to_mfn(x)   (x)
+#define machine_to_phys_mapping 0
+
 #endif /* __HYPERVISOR_H__ */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.