VirtualBox

Changeset 1393 in vbox


Ignore:
Timestamp:
Mar 11, 2007 2:55:52 AM (18 years ago)
Author:
vboxsync
Message:

two near jumps for nasm.

File:
1 edited

Legend:

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

    r1369 r1393  
    11261126
    11271127    test    dword [esp], X86_EFL_NT
    1128     jnz     iret_fault1
     1128    jnz near iret_fault1
    11291129
    11301130    ; 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.
    11311131    test    dword [esp+12], X86_EFL_VM
    1132     jnz     iret_return_to_v86
     1132    jnz near iret_return_to_v86
    11331133
    11341134    ;;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    12181218    iretd
    12191219
    1220 iret_return_to_v86:   
     1220iret_return_to_v86:
    12211221    test    dword [esp+12], X86_EFL_IF
    12221222    jz      iret_fault
     
    17341734
    17351735    ; the called function will set PATM_INTERRUPTFLAG (!!)
    1736     jmp     dword [ss:PATM_CALL_PATCH_TARGET_ADDR] 
     1736    jmp     dword [ss:PATM_CALL_PATCH_TARGET_ADDR]
    17371737
    17381738PATMLookupAndCallEnd:
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