|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Different esps
hi,
I am trying to make sense of the various stack-pointers within Xen. My
problem is that my newly created domain gets killed, apparently because
Xen cannot write the stack when returning to the domain. I am not sure
which stack pointer Xen is using for the faulting write though.
I am looking at two different esp values, the ones printed by the printf
below:
execution_context_t ctxt;
memcpy(&ctxt, get_execution_context(),sizeof(execution_context_t));
printk("esp1 %08lx %08lx\n",ctxt.esp, current->thread.esp1);
What is the difference between these two stacks, and what is the
recommended way of reading and setting their values from within the
unprivileged domain?
thanks,
Jacob
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Different esps,
Jacob Gorm Hansen <=
|
|
|
|
|