search for: monitor_vt

Displaying 1 result from an estimated 1 matches for "monitor_vt".

Did you mean: monitor_fd
2005 Sep 05
0
[PATCH][4/6] Add to virtual device operations
.../* 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 already exists\n",hva); + return -1; + } + + /* alloc l1 page table */ + d->max_pages++; + l1_mfn_info = alloc_domheap_page(d); + if (!l1_mfn_info){ + printk("alloc_domh...