WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] First step toward building drivers/xen for ia64 out of sparse
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Sep 2005 20:16:11 +0000
Delivery-date: Wed, 28 Sep 2005 20:13:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] First step toward building drivers/xen for ia64 out of sparse, Xen patchbot -unstable <=