VirtualBox

Changeset 9658 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 12, 2008 12:33:17 PM (17 years ago)
Author:
vboxsync
Message:

Renamed SELMIsSelector32Bit to SELMGetSelectorType.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r9457 r9658  
    18761876static int SVMR0InterpretInvpg(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t uASID)
    18771877{
     1878    Assert(!CPUMIsGuestInLongMode(pVM));    /** @todo */
    18781879    /*
    18791880     * Only allow 32-bit code.
    18801881     */
    1881     if (SELMIsSelector32Bit(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid))
     1882    if (SELMGetSelectorType(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid) == CPUMODE_16BIT)
    18821883    {
    18831884        RTGCPTR pbCode;
     
    19521953    Assert(pVM->hwaccm.s.fNestedPaging);
    19531954
     1955    Assert(!CPUMIsGuestInLongMode(pVM));    /** @todo */
     1956
    19541957    /* Skip it if a TLB flush is already pending. */
    19551958    if (!fFlushPending)
     
    19721975        * Only allow 32-bit code.
    19731976        */
    1974         if (SELMIsSelector32Bit(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid))
     1977        if (SELMGetSelectorType(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid))
    19751978        {
    19761979            RTGCPTR pbCode;
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