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-devel

[Xen-ia64-devel] [Patch] ARCH_HAS_DEV_MEM patch for Xwindow on IA64 mach

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [Patch] ARCH_HAS_DEV_MEM patch for Xwindow on IA64 machine
From: Jun Kamada <kama@xxxxxxxxxxxxxx>
Date: Wed, 04 Jul 2007 20:43:29 +0900
Delivery-date: Wed, 04 Jul 2007 04:41:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

Attached patch modifies common code in files below, so I will post it
to xen-devel and xen-ia64-devel.

- drivers/xen/Kconfig
- drivers/xen/Makefile
- drivers/xen/char/mem.c

This patch makes architecture specific memory operations to be available
only if ARCH_HAS_DEV_MEM is defined.

Background why I posted the patch is as follows.

We would like to support Xwindow on IA64 by remapping machine address to
pseudo physical address at PCI device initialization (pci_acpi_scan_root()
in arch/ia64/pci/pci.c) but at "mmap /dev/mem" systemcall.
With the new scheme, we need no longer the archtecture specific memory
operations described above.

Please see 
http://lists.xensource.com/archives/html/xen-ia64-devel/2007-06/msg00167.html

Thanks

-----
Jun Kamada
Virtual Systems Development Div.
Platform Technology Development Unit
Fujitsu Ltd.
kama@xxxxxxxxxxxxxx

Attachment: ifdef_arch_has_dev_mem.patch
Description: Binary data

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