search for: do_virtual_device_op

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

2005 Sep 05
2
[PATCH][1/6] add a hypercall number for virtual device in unmodified guest
...arch/x86/x86_32/entry.S --- a/xen/arch/x86/x86_32/entry.S Tue Aug 30 20:36:49 2005 +++ b/xen/arch/x86/x86_32/entry.S Fri Sep 2 22:46:13 2005 @@ -812,6 +812,7 @@ .long do_ni_hypercall /* 25 */ .long do_mmuext_op .long do_acm_op /* 27 */ + .long do_virtual_device_op /* virutal device op for VMX */ .rept NR_hypercalls-((.-hypercall_table)/4) .long do_ni_hypercall .endr _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2005 Sep 05
0
[PATCH][4/6] Add to virtual device operations
...y_t *)map_domain_page(l1_mfn); + memset(mpl1e, 0, PAGE_SIZE); + mpl1e[l1_table_offset(hva)] = + l1e_from_pfn(mfn, __PAGE_HYPERVISOR); + unmap_domain_page(mpl1e); + printk("map_param_share_page: set l1 page table entry\n"); + + return 0; +} + +asmlinkage unsigned long do_virtual_device_op(unsigned long op, + unsigned long arg1, + unsigned arg2) +{ + switch (op) + { + case SET_CALLBACK_IRQ: + { + if(arg1) + current->domain->arch.vmx_platform.ca...