VirtualBox

Changeset 61368 in vbox


Ignore:
Timestamp:
Jun 1, 2016 12:46:59 PM (9 years ago)
Author:
vboxsync
Message:

CPUMRZA.asm: raw-mode fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRZ/CPUMRZA.asm

    r61348 r61368  
    141141        mov     eax, ecx
    142142        and     eax, ~(X86_CR0_TS | X86_CR0_EM)
    143         mov     cr0, ecx
     143        mov     cr0, eax
    144144.skip_cr0_write:
    145145 %endif
     
    259259        ; Temporarily grant access to the SSE state. xDX must be preserved until CR0 is restored!
    260260        mov     edx, cr0
     261        test    edx, X86_CR0_TS | X86_CR0_EM
    261262        jz      .skip_cr0_write
    262263        mov     eax, edx
    263264        and     eax, ~(X86_CR0_TS | X86_CR0_EM)
    264         mov     cr0, ecx
     265        mov     cr0, eax
    265266.skip_cr0_write:
    266267 %endif
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