[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Switching to user mode from domU kernel
On 30/9/07 21:11, "Trammell Hudson" <hudson@xxxxxxxxxxxxxx> wrote: > Am I not jumping into user space correctly? Is there something > else that my code should do to make the transition? It sounds like event delivery is masked before the iret, and then you have IF set in the RFLAGS value in the iret frame, which causes event delivery to be unmasked during iret. > I am passing flags==0 and only push the values for flags, CS:RIP, > RFLAGS, and SS:RSP. If I push values for RAX, R11, and RCX on the > stack the kernel ends up in all sorts of weird places rather than > my intended RIP and RSP. That doesn't make sense. The iret implementation (for an x86/64 guest) always expects RAX/R11/RCX on the stack. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |