Changeset 46856 in vbox for trunk/src/VBox/VMM/testcase/Instructions/env-common.mac
- Timestamp:
- Jun 28, 2013 3:03:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/Instructions/env-common.mac
r46731 r46856 100 100 ;******************************************************************************* 101 101 102 VBINSTST_BEGINCODE 102 103 103 104 ;; … … 113 114 VBINSTST_BEGINPROC Common_BadValue 114 115 MY_PUSH_ALL 116 mov xAX, xSP ; 16-byte align the stack and reserve space for arguments and stuff. 117 sub xSP, 40h 118 and xSP, ~15 119 mov [xSP + 38h], xAX 115 120 116 121 %ifdef ASM_CALL64_GCC … … 123 128 124 129 %elifdef ASM_CALL64_MSC 125 sub rsp, 28h126 130 mov r10d, [VBINSTST_NAME(g_uVBInsTstSubTestIndicator) wrt rip] 127 131 mov [rsp + 20h], r10 … … 131 135 lea rcx, [.szFmt wrt rip] 132 136 VBINSTST_CALL_FN_FAILURE_4 133 add rsp, 28h134 137 135 138 %else … … 138 141 mov sAX, [xBP + 4 + xCB + 4] ; actual 139 142 mov sDX, [xBP + 4 + xCB + 8] ; reg# 140 pushsBX141 pushsCX142 pushsAX143 pushsDX144 push.szFmt143 mov [xSP + xCB + 3*sCB], sBX 144 mov [xSP + xCB + 2*sCB], sCX 145 mov [xSP + xCB + 1*sCB], sAX 146 mov [xSP + xCB], sDX 147 mov [xSP], RTCCPTR_PRE .szFmt 145 148 VBINSTST_CALL_FN_FAILURE_4 146 add esp, 4*sCB + xCB 147 %endif 149 %endif 150 151 mov xSP, [xSP + 38h] 148 152 MY_POP_ALL 149 153 ret
Note:
See TracChangeset
for help on using the changeset viewer.