Displaying 3 results from an estimated 3 matches for "pfn_info".
Did you mean:
fb_info
2005 May 28
4
bitopts functions overflowing page boundarys
u.inuse.type_info is at the end of the pfn_info structure, and is
u32 for both x86_32 and x86_64--in this location it can also be the
last 32 bits of a page.
several functions use bitopts.h functions to manipulate this member, and
on x86_64 these functions use u64 instructions, which will overflow the
page boundary, and possibly the end of memo...
2005 Sep 05
0
[PATCH][4/6] Add to virtual device operations
...below HYPERVISOR_VIRT_START,
+ * so that share page can be treated as a guest page
+ */
+int map_param_share_page(unsigned long gva, unsigned long hva){
+
+ unsigned long mfn;
+ l2_pgentry_t *mpl2e; /* monitor page table l2 */
+ l1_pgentry_t *mpl1e; /* monitor page table l1 */
+ struct pfn_info *l1_mfn_info;
+ unsigned long l1_mfn;
+ struct vcpu* v = current;
+ struct domain *d = v->domain;
+
+ mfn = __gpfn_to_mfn(d, gva >> PAGE_SHIFT);
+ mpl2e = current->arch.monitor_vtable;
+ if ( mpl2e[l2_table_offset(hva)].l2 ){
+ printk("map of hva 0x%lx alre...
2005 Mar 14
4
[patch/unstable] page table cleanups
..._into_current_l
{
struct exec_domain *ed = current;
struct domain *d = ed->domain;
- unsigned long *gpl1e, *spl1e, gl2e, sl2e, gl1pfn, sl1mfn, sl1ss;
+ l1_pgentry_t *gpl1e, *spl1e;
+ l2_pgentry_t gl2e, sl2e;
+ unsigned long gl1pfn, sl1mfn, sl1ss;
struct pfn_info *sl1mfn_info;
int i;
__guest_get_l2e(ed, va, &gl2e);
- gl1pfn = gl2e >> PAGE_SHIFT;
+ gl1pfn = l2_pgentry_val(gl2e) >> PAGE_SHIFT;
sl1ss = __shadow_status(d, gl1pfn);
if ( !(sl1ss & PSH_shadowed) )
@@ -561,10 +563,10 @@ static void...