mirror of https://review.coreboot.org/STM.git
Fix for problem in restore order for AsmVmLaunch & AsmVmResume
Restore of rdi and rsi were reversed with respect to the vmexit.
This commit is contained in:
parent
8560868570
commit
4836ce7d43
|
@ -29,8 +29,8 @@ ASM_PFX(AsmVmLaunch):
|
||||||
movq 16(%rcx), %rdx
|
movq 16(%rcx), %rdx
|
||||||
movq 24(%rcx), %rbx
|
movq 24(%rcx), %rbx
|
||||||
movq 40(%rcx), %rbp
|
movq 40(%rcx), %rbp
|
||||||
movq 48(%rcx), %rdi
|
movq 48(%rcx), %rsi
|
||||||
movq 56(%rcx), %rsi
|
movq 56(%rcx), %rdi
|
||||||
movq 64(%rcx), %r8
|
movq 64(%rcx), %r8
|
||||||
movq 72(%rcx), %r9
|
movq 72(%rcx), %r9
|
||||||
movq 80(%rcx), %r10
|
movq 80(%rcx), %r10
|
||||||
|
|
|
@ -29,8 +29,8 @@ ASM_PFX(AsmVmResume):
|
||||||
movq 16(%rcx), %rdx
|
movq 16(%rcx), %rdx
|
||||||
movq 24(%rcx), %rbx
|
movq 24(%rcx), %rbx
|
||||||
movq 40(%rcx), %rbp
|
movq 40(%rcx), %rbp
|
||||||
movq 48(%rcx), %rdi
|
movq 48(%rcx), %rsi
|
||||||
movq 56(%rcx), %rsi
|
movq 56(%rcx), %rdi
|
||||||
movq 64(%rcx), %r8
|
movq 64(%rcx), %r8
|
||||||
movq 72(%rcx), %r9
|
movq 72(%rcx), %r9
|
||||||
movq 80(%rcx), %r10
|
movq 80(%rcx), %r10
|
||||||
|
|
Loading…
Reference in New Issue