[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] testing hypercall from windows - what's the mostbasic call I can make to test
I think I found the problem... the parameters are 0 based, so I need to change: > HYPERVISOR_xen_version(int cmd, void *arg) > { > long __res; > __asm { > push ebp > mov ebp, esp > sub esp, 8 ^^^^^^^^^^ this to 'sub esp, 12' > mov eax, cmd > mov [ebp - 8], eax > mov eax, arg > mov [ebp - 4], eax > call hypercall_stubs + (__HYPERVISOR_xen_version * 32) > add esp, 8 ^^^^^^^^^^ and this to 'add esp, 12' > pop ebp > mov [__res], eax > } > return __res; > } > " Which now doesn't crash... I hope that's a good sign! James _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |