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

Re: [Xen-devel] Question re do_switch_stack()



On Thu, 2005-06-09 at 16:32 +0100, Keir Fraser wrote:
> On 9 Jun 2005, at 16:22, Avi Kivity wrote:
> 
> > the tss is not consulted on iretd as far as I can tell, and kernel_sp 
> > is
> > only loaded in create_bounce_frame. what did I miss?
> >
> > thanks in advance.
> 
> The actual stack switch occurs in do_switch() macro defined in 
> include/asm-xen/asm-i386/system.h.
> 

switch_to(), I think you mean.

> do_stack_switch() changes the stack that Xen switches to when switching 
> to ring 1 when previously the guest was executing in ring 3.
> 

all clear now. thanks!

Avi


>   -- Keir
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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