VirtualBox

Ignore:
Timestamp:
Aug 3, 2009 2:39:00 PM (15 years ago)
Author:
vboxsync
Message:

VMM: detect syscall usage on the host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher.cpp

    r20864 r21942  
    558558
    559559            /*
    560              * Insert relative jump to specified target it SYSENTER isn't used by the host.
     560             * Insert relative jump to specified target it SYSCALL isn't used by the host.
    561561             */
    562562            case FIX_NO_SYSCALL_JMP:
     
    564564                uint32_t offTrg = *u.pu32++;
    565565                Assert(offTrg < pSwitcher->cbCode);
    566                 if (!CPUMIsHostUsingSysEnter(pVM))
     566                if (!CPUMIsHostUsingSysCall(pVM))
    567567                {
    568568                    *uSrc.pu8++ = 0xe9; /* jmp rel32 */
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