WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>