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:
Eugene Myers 2020-01-29 18:49:48 -05:00
parent 8560868570
commit 4836ce7d43
2 changed files with 4 additions and 4 deletions

View File

@ -29,8 +29,8 @@ ASM_PFX(AsmVmLaunch):
movq 16(%rcx), %rdx
movq 24(%rcx), %rbx
movq 40(%rcx), %rbp
movq 48(%rcx), %rdi
movq 56(%rcx), %rsi
movq 48(%rcx), %rsi
movq 56(%rcx), %rdi
movq 64(%rcx), %r8
movq 72(%rcx), %r9
movq 80(%rcx), %r10

View File

@ -29,8 +29,8 @@ ASM_PFX(AsmVmResume):
movq 16(%rcx), %rdx
movq 24(%rcx), %rbx
movq 40(%rcx), %rbp
movq 48(%rcx), %rdi
movq 56(%rcx), %rsi
movq 48(%rcx), %rsi
movq 56(%rcx), %rdi
movq 64(%rcx), %r8
movq 72(%rcx), %r9
movq 80(%rcx), %r10