VirtualBox

Changeset 1338 in vbox


Ignore:
Timestamp:
Mar 8, 2007 5:07:33 PM (18 years ago)
Author:
vboxsync
Message:

Moved the IF check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATMA.asm

    r1336 r1338  
    11281128    jnz     iret_fault1
    11291129
    1130     test    dword [esp+12], X86_EFL_IF
    1131     jz      iret_clearIF
    1132 
    11331130    ; we can't do an iret to v86 code, as we run with CPL=1. The iret would attempt a protected mode iret and (most likely) fault.
    11341131    test    dword [esp+12], X86_EFL_VM
     
    11411138    test    dword [esp+8], 2
    11421139    jnz     iret_notring0
     1140
     1141    test    dword [esp+12], X86_EFL_IF
     1142    jz      iret_clearIF
    11431143
    11441144    ; force ring 1 CS RPL
     
    12191219
    12201220iret_return_to_v86:   
     1221    test    dword [esp+12], X86_EFL_IF
     1222    jz      iret_fault
     1223
    12211224    ; Go to our hypervisor trap handler to perform the iret to v86 code
    12221225    mov     dword [ss:PATM_TEMP_EAX], eax
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