|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Question re do_switch_stack()
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Question re do_switch_stack(),
Avi Kivity <=
|
|
|
|
|