Changeset 61112 in vbox for trunk/src/VBox
- Timestamp:
- May 20, 2016 4:58:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRZ/CPUMRZA.asm
r61109 r61112 212 212 SEH64_SET_FRAME_xBP 0 213 213 SEH64_END_PROLOGUE 214 214 215 %ifndef VBOX_WITH_KERNEL_USING_XMM 215 216 216 ; 217 217 ; Load xCX with the guest pXStateR0. 218 218 ; 219 %ifdef RT_ARCH_AMD64 220 %ifdef ASM_CALL64_MSC 221 mov xCX, [rcx + CPUMCPU.Guest.pXStateR0] 222 %else 223 mov xCX, [rdi + CPUMCPU.Guest.pXStateR0] 224 %endif 225 %else 226 mov ecx, dword [ebp + 8] 227 mov ecx, [ecx + CPUMCPU.Guest.pXStateR0] 219 %ifdef ASM_CALL64_GCC 220 mov xCX, rdi 221 %elifdef RT_ARCH_X86 222 mov xCX, dword [ebp + 8] 223 %endif 224 %ifdef IN_RING0 225 mov xCX, [xCX + CPUMCPU.Guest.pXStateR0] 226 %elifdef IN_RC 227 mov xCX, [xCX + CPUMCPU.Guest.pXStateRC] 228 %else 229 %error "Invalid context!" 228 230 %endif 229 231
Note:
See TracChangeset
for help on using the changeset viewer.