VirtualBox

Changeset 1336 in vbox for trunk/src/VBox/VMM/PATM


Ignore:
Timestamp:
Mar 8, 2007 4:58:22 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19310
Message:

Forbit execution of v86 code with IF=0.

File:
1 edited

Legend:

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

    r1334 r1336  
    11281128    jnz     iret_fault1
    11291129
     1130    test    dword [esp+12], X86_EFL_IF
     1131    jz      iret_clearIF
     1132
    11301133    ; 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.
    11311134    test    dword [esp+12], X86_EFL_VM
     
    11381141    test    dword [esp+8], 2
    11391142    jnz     iret_notring0
    1140 
    1141     test    dword [esp+12], X86_EFL_IF
    1142     jz      iret_clearIF
    11431143
    11441144    ; force ring 1 CS RPL
Note: See TracChangeset for help on using the changeset viewer.

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