[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Different esps


  • To: Xen list <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: Jacob Gorm Hansen <jacob@xxxxxxxx>
  • Date: Tue, 20 Jan 2004 12:29:35 +0100
  • Delivery-date: Tue, 20 Jan 2004 11:31:14 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

On Tue, 2004-01-20 at 12:11, Jacob Gorm Hansen wrote:

> execution_context_t ctxt;
> memcpy(&ctxt, get_execution_context(),sizeof(execution_context_t));
> 
> printk("esp1 %08lx %08lx\n",ctxt.esp, current->thread.esp1);

Just to add a little more info;

my problem seems to be that the value of ctxt.esp from read from inside
Xen differs from what I set at domain creation time, and the value I get
from reading the esp from within the domain, by about 0x4000 bytes
negative.

I have tried setting the value of esp1 with the stack_switch hypercall,
but apparently this is not the one causing the Xen page fault.

best regards,
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.