|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/6] xen/x86/pvh: Save %rbx in xen_pvh_early_cpu_init()
On 07/07/2015 04:16 PM, Konrad Rzeszutek Wilk wrote: On Mon, Jul 06, 2015 at 11:34:20PM -0400, Boris Ostrovsky wrote: I meant here that we do 'mov -8(%rsp), %rbx' before returning and on secondary CPUs we will grab garbage from the stack. But it's OK because we are in the entry point and cpu_bringup_and_idle (which is where we will be jumping to) doesn't care what's in %rbx. Overwriting with %edx happens earlier. -boris As a side effect of these changes we don't need to save %rsi anymore, since we can use %rbx instead of %rsi as a temporary register. (We could store %rbx into another scratch register such as %r8 but since we will need new entry point for 32-bit PVH anyway we go with this approach for symmetry) Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |