[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] use hypercall in kernel module
On 25/05/16 12:14, Big Strong wrote: Give a look to arch/x86/asm/xen/hypercall.h to see how hypercalls are implemented for the kernel. Regards, -- Julien Grall Thanks for the suggestion. But what I pasted is right from hypercall.h. What I'm not understand is how can I directly assign arguments to the registers a1-a5. As I don't want to use privcmd to issue the hypercall, which is a user-level interface. Can you show me one simple example on how to do that? There is multiple example on how to implement hypercalls for the kernel within this file (e.g HYPERVISOR_mmu_update). You may have to implement yours if there is no helpers for you hypercall. Regards, -- Julien Grall _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |