VirtualBox

Changeset 9247 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 30, 2008 12:38:23 PM (17 years ago)
Author:
vboxsync
Message:

Fixed broken cmpxchg8b emulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/EMGCA.asm

    r8491 r9247  
    200200    lock cmpxchg8b qword [ebp]          ; do CMPXCHG8B
    201201%endif
    202     mov     dword [esp + 08h + 8], eax
    203     mov     dword [esp + 0ch + 8], edx
     202    mov     ebx, dword [esp + 08h + 8]
     203    mov     dword [ebx], eax
     204    mov     ebx, dword [esp + 0ch + 8]
     205    mov     dword [ebx], edx
    204206
    205207    ; collect flags and return.
     
    254256    cmpxchg8b qword [ebp]               ; do CMPXCHG8B
    255257%endif
    256     mov     dword [esp + 08h + 8], eax
    257     mov     dword [esp + 0ch + 8], edx
     258    mov     ebx, dword [esp + 08h + 8]
     259    mov     dword [ebx], eax
     260    mov     ebx, dword [esp + 0ch + 8]
     261    mov     dword [ebx], edx
    258262
    259263    ; collect flags and return.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette