Displaying 1 result from an estimated 1 matches for "to_ma".
Did you mean:
to_a
2007 Jan 12
0
[PATCH] xc_ptrace PAE awareness
...=====================================
--- 2007-01-11.orig/tools/libxc/xc_ptrace.c 2006-12-14 22:49:56.000000000 +0100
+++ 2007-01-11/tools/libxc/xc_ptrace.c 2007-01-12 14:10:45.000000000 +0100
@@ -166,14 +166,11 @@ static unsigned long *page_arr
* tables.
*
*/
-static unsigned long
-to_ma(int cpu,
- unsigned long in_addr)
+static uint64_t
+to_ma(int cpu, uint64_t maddr)
{
- unsigned long maddr = in_addr;
-
if ( current_is_hvm && paging_enabled(&ctxt[cpu]) )
- maddr = page_array[maddr >> PAGE_SHIFT] << PAGE_SHIFT;
+ maddr = (uint64_...