Displaying 1 result from an estimated 1 matches for "l1_mfn".
2005 Sep 05
0
[PATCH][4/6] Add to virtual device operations
...ERVISOR_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 already exis...