Displaying 2 results from an estimated 2 matches for "guest_va".
Did you mean:
guest_pa
2007 Jan 12
0
[PATCH] xc_ptrace PAE awareness
...if ( current_is_hvm && paging_enabled(&ctxt[cpu]) )
- maddr = page_array[maddr >> PAGE_SHIFT] << PAGE_SHIFT;
+ maddr = (uint64_t)page_array[maddr >> PAGE_SHIFT] << PAGE_SHIFT;
return maddr;
}
@@ -225,7 +222,8 @@ map_domain_va_pae(
void *guest_va,
int perm)
{
- unsigned long l3e, l2e, l1e, l2p, l1p, p, va = (unsigned long)guest_va;
+ uint64_t l3e, l2e, l1e, l2p, l1p, p;
+ unsigned long va = (unsigned long)guest_va;
uint64_t *l3, *l2, *l1;
static void *v[MAX_VIRT_CPUS];
@@ -380,12 +378,12 @@ map_domain_va(
i...
2005 Mar 30
0
[PATCH] libxc xc_ptrace gcc 4 fix
Variable guest_va is declared as a long* . It takes values that are cast
as unsigned long* . GCC 4 picks up on this. This patch changes the
declaration of guest va to be an unsigned long* and fixes the problem.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
--
Jerone Young
IBM Linux Technology Center
jyoun...