mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 19:57:31 +00:00
HV: fix bug of restore rsp context
We should use movq to restore rsp instead of mov. Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
4fd870f718
commit
af194bcd00
@ -135,7 +135,7 @@ restore_s3_context:
|
||||
*160=0xa0=CPU_CONTEXT_OFFSET_RSP
|
||||
*/
|
||||
mov 0x138 + cpu_ctx(%rip), %ss
|
||||
mov 0xa0 + cpu_ctx(%rip), %rsp
|
||||
movq 0xa0 + cpu_ctx(%rip), %rsp
|
||||
|
||||
/*168U=0xa8=CPU_CONTEXT_OFFSET_RFLAGS*/
|
||||
pushq 0xa8 + cpu_ctx(%rip)
|
||||
|
Loading…
Reference in New Issue
Block a user