Displaying 1 result from an estimated 1 matches for "map_param_share_pag".
Did you mean:
map_param_share_page
2005 Sep 05
0
[PATCH][4/6] Add to virtual device operations
...cpu_cr2));
#endif
}
+
+
+/* map hypercall parameter share page address in monitor pagetable
+ * map guest virtual address <--> hypervisor virtual address
+ * the hypervisor virtual address should 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->do...