From: Jack Lange Date: Tue, 11 Aug 2009 21:11:14 +0000 (-0500) Subject: build fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=5d4b8783bfb83ea364c3f133f69a9e8451e8f5e5 build fix --- 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; \