ia64/xen-unstable
changeset 10056:d056f91cfd95
Fix 64-bit build. xc_ptrace() is still broken for x86/64 however.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Sun May 14 20:13:14 2006 +0100 (2006-05-14) |
parents | 8e6835fa7c4b |
children | f8d20c3e4225 |
files | tools/libxc/xc_ptrace.c |
line diff
1.1 --- a/tools/libxc/xc_ptrace.c Fri May 12 15:47:25 2006 +0100 1.2 +++ b/tools/libxc/xc_ptrace.c Sun May 14 20:13:14 2006 +0100 1.3 @@ -320,7 +320,7 @@ map_domain_va_64( 1.4 if (l1e & 0x80) { /* 2M pages */ 1.5 p = to_ma(cpu, (l1p + l1_table_offset(va)) << PAGE_SHIFT); 1.6 } else { /* 4K pages */ 1.7 - l1p = to_ma(cpu, l1e[l1_table_offset(va)]); 1.8 + //l1p = to_ma(cpu, l1e[l1_table_offset(va)]); 1.9 l1 = xc_map_foreign_range(xc_handle, current_domid, PAGE_SIZE, perm, l1p >> PAGE_SHIFT); 1.10 munmap(l2, PAGE_SIZE); 1.11 if ( l1 == NULL )