|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Question re do_switch_stack()
The stack_switch you're looking at is for setting the trap stack.
On 6/9/05, Avi Kivity <avi.kivity@xxxxxxxxxxxx> wrote:
> looking at do_stack_switch() (x86-32), I see that the switch is effected
> by moving the new stack pointer into current->arch.kernel_sp. however,
> entry.S only looks at kernel_sp in create_bounce_frame, but only if
> we're not returning into ring 1.
>
> how then is the switch caused? obviously the call to do_stack_switch
> came from ring 1.
>
> confused,
> Avi
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|