search for: l0_pagetable_mask_pae

Displaying 2 results from an estimated 2 matches for "l0_pagetable_mask_pae".

2007 Feb 12
0
[PATCH] lift physical address restriction in svae/restore code
...================================================= --- 2007-02-07.orig/tools/libxc/xc_pagetab.c 2006-06-09 08:30:05.000000000 +0200 +++ 2007-02-07/tools/libxc/xc_pagetab.c 2007-02-12 09:10:01.000000000 +0100 @@ -14,7 +14,7 @@ #define L1_PAGETABLE_SHIFT 12 #define L2_PAGETABLE_SHIFT 22 -#define L0_PAGETABLE_MASK_PAE 0x0000000ffffff000ULL +#define L0_PAGETABLE_MASK_PAE 0x00000ffffffff000ULL #define L1_PAGETABLE_MASK_PAE 0x1ffULL #define L2_PAGETABLE_MASK_PAE 0x1ffULL #define L3_PAGETABLE_MASK_PAE 0x3ULL @@ -33,7 +33,7 @@ #define L1_PAGETABLE_SHIFT L1_PAGETABLE_SHIFT_PAE #define L2_PAGETABLE_SHIFT L2_PAGE...
2008 Dec 19
3
xc_translate_foreign_address() returns mfn??
Hi, I looked at the function xc_translate_foreign_address(), and see that it walks the page table of the guest VM. So at best, it should return the pfn of the guest (?) We can see taht the Later part of the function is like this: ... if (pt_levels >= 3) mfn = (pte & L0_PAGETABLE_MASK_PAE) >> PAGE_SHIFT; else mfn = (pte & L0_PAGETABLE_MASK) >> PAGE_SHIFT; .. return mfn; So perhaps I miss something, but the "mfn" here should be "pfn", so this function should return pfn, not mfn as in the comment of xenctrl.h. This makes me ver...