X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm_lowlevel.S;h=6dcd39bdf7110d520d775768949c22ce76832c7e;hp=11cc3b003157fbf35f9ff55457ae1b576c354769;hb=5d4b8783bfb83ea364c3f133f69a9e8451e8f5e5;hpb=29056b18227989f85d7cc6ba4cbb3165e78be3b5 diff --git a/palacios/src/palacios/svm_lowlevel.S b/palacios/src/palacios/svm_lowlevel.S index 11cc3b0..6dcd39b 100644 --- a/palacios/src/palacios/svm_lowlevel.S +++ b/palacios/src/palacios/svm_lowlevel.S @@ -23,6 +23,7 @@ #ifdef __V3_32BIT__ // Note that RAX is saved in the VMCB, so we don't touch it here + #define Save_SVM_Registers(location) \ pushl %eax; \ movl location, %eax; \ @@ -32,7 +33,7 @@ movl $0, 24(%eax); \ movl %ebx, 32(%eax); \ movl %edx, 40(%eax); \ - movl %ecx, 48(%eax); \ + movl %ecx, 48(%eax); \ popl %eax; @@ -87,6 +88,7 @@ v3_svm_launch: #elif __V3_64BIT__ // Note that RAX is saved in the VMCB, so we don't touch it here + #define Save_SVM_Registers(location) \ pushq %rax; \ movq location, %rax; \