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

[Xen-ia64-devel] [PATCH] use xc_map_foreign_pages() in copy_from_GFW_to_

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] use xc_map_foreign_pages() in copy_from_GFW_to_nvram()
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 10 Sep 2007 11:05:13 +0900
Delivery-date: Sun, 09 Sep 2007 19:05:28 -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
User-agent: Mutt/1.4.2.1i
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1189388010 -32400
# Node ID 05431e5ce0fdfa9fd652db5f838d91bfacd3898b
# Parent  ef63d6bd99b6039d9e97085067cb480b4652d62c
use xc_map_foreign_pages() where possible
PATCHNAME: ia64_use_xc_map_foreign_pages

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r ef63d6bd99b6 -r 05431e5ce0fd tools/libxc/ia64/xc_ia64_hvm_build.c
--- a/tools/libxc/ia64/xc_ia64_hvm_build.c      Fri Sep 07 15:04:51 2007 +0900
+++ b/tools/libxc/ia64/xc_ia64_hvm_build.c      Mon Sep 10 10:33:30 2007 +0900
@@ -653,7 +653,7 @@ copy_from_GFW_to_nvram(int xc_handle, ui
     for ( i=0; i<nr_pages; i++ )
         pfn_list[i] = (addr_from_GFW_4k_align >> PAGE_SHIFT) + i;
 
-    tmp_ptr = (char *)xc_map_foreign_batch(xc_handle, dom,
+    tmp_ptr = (char *)xc_map_foreign_pages(xc_handle, dom,
     PROT_READ | PROT_WRITE, pfn_list, nr_pages);
     if ( NULL == tmp_ptr )
     {


-- 
yamahata

Attachment: 15925_05431e5ce0fd_ia64_use_xc_map_foreign_pages.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>