VirtualBox

Changeset 72421 in vbox


Ignore:
Timestamp:
Jun 4, 2018 6:09:41 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested hw.virt: Comment and doxygen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h

    r72084 r72421  
    793793            LogFlow(("iemSvmVmrun: Injecting event: %04x:%08RX64 vec=%#x type=%d uErr=%u cr2=%#RX64 cr3=%#RX64 efer=%#RX64\n",
    794794                     pCtx->cs.Sel, pCtx->rip, uVector, enmType, uErrorCode, pCtx->cr2, pCtx->cr3, pCtx->msrEFER));
    795 #if 0
    796             rcStrict = IEMInjectTrap(pVCpu, uVector, enmType, uErrorCode, pCtx->cr2, 0 /* cbInstr */);
    797 #else
     795
     796            /*
     797             * We shall not inject the event here right away. There may be paging mode related updates
     798             * as a result of the world-switch above that are yet to be honored. Instead flag the event
     799             * as pending for injection.
     800             */
    798801            TRPMAssertTrap(pVCpu, uVector, enmType);
    799802            if (pEventInject->n.u1ErrorCodeValid)
     
    802805                && uVector == X86_XCPT_PF)
    803806                TRPMSetFaultAddress(pVCpu, pCtx->cr2);
    804 #endif
    805807        }
    806808        else
     
    838840 *
    839841 * @returns VBox strict status code.
    840  * @param   pVCpu           The cross context virtual CPU structure of the calling thread.
    841  * @param   u16Port         The IO port being accessed.
    842  * @param   enmIoType       The type of IO access.
    843  * @param   cbReg           The IO operand size in bytes.
    844  * @param   cAddrSizeBits   The address size bits (for 16, 32 or 64).
    845  * @param   iEffSeg         The effective segment number.
    846  * @param   fRep            Whether this is a repeating IO instruction (REP prefix).
    847  * @param   fStrIo          Whether this is a string IO instruction.
     842 * @param   pVCpu       The cross context virtual CPU structure of the calling thread.
     843 * @param   pCtx        Pointer to the guest-CPU context.
     844 * @param   u8Vector    The interrupt or exception vector.
     845 * @param   fFlags      The exception flags (see IEM_XCPT_FLAGS_XXX).
     846 * @param   uErr        The error-code associated with the exception.
     847 * @param   uCr2        The CR2 value in case of a \#PF exception.
    848848 */
    849849IEM_STATIC VBOXSTRICTRC iemHandleSvmEventIntercept(PVMCPU pVCpu, PCPUMCTX pCtx, uint8_t u8Vector, uint32_t fFlags, uint32_t uErr,
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