|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-ia64-devel
[Xen-ia64-devel] [PATCH] use xc_map_foreign_pages() in	copy_from_GFW_to_
 
# 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
 
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>
 |  
- [Xen-ia64-devel] [PATCH] use xc_map_foreign_pages() in	copy_from_GFW_to_nvram(),
Isaku Yamahata <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |