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

[Xen-changelog] Fix 64-bit build. xc_ptrace() is still broken for x86/64 however.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d056f91cfd95cbdcf3e6d130141c2e396fc8069e
# Parent  8e6835fa7c4bf262a02fe63418eee1ae3fd16516
Fix 64-bit build. xc_ptrace() is still broken for x86/64 however.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/libxc/xc_ptrace.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8e6835fa7c4b -r d056f91cfd95 tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c   Fri May 12 15:47:25 2006 +0100
+++ b/tools/libxc/xc_ptrace.c   Sun May 14 20:13:14 2006 +0100
@@ -320,7 +320,7 @@ map_domain_va_64(
     if (l1e & 0x80)  { /* 2M pages */
         p = to_ma(cpu, (l1p + l1_table_offset(va)) << PAGE_SHIFT);
     } else { /* 4K pages */
-        l1p = to_ma(cpu, l1e[l1_table_offset(va)]);
+        //l1p = to_ma(cpu, l1e[l1_table_offset(va)]);
         l1 = xc_map_foreign_range(xc_handle, current_domid, PAGE_SIZE, perm, 
l1p >> PAGE_SHIFT);
         munmap(l2, PAGE_SIZE);
         if ( l1 == NULL )

_______________________________________________
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®.