VirtualBox

Changeset 49889 in vbox for trunk/src


Ignore:
Timestamp:
Dec 12, 2013 5:12:08 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Comments.

File:
1 edited

Legend:

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

    r49870 r49889  
    65836583 * @param   fSaveGuestState     Whether to save the guest state or not.
    65846584 *
    6585  * @remarks If you modify code here, make sure to check whether
    6586  *          hmR0VmxCallRing3Callback() needs to be updated too!!!
    65876585 * @remarks No-long-jmp zone!!!
    65886586 */
     
    65946592    RTCPUID idCpu = RTMpCpuId();
    65956593    Log4Func(("HostCpuId=%u\n", idCpu));
     6594
     6595    /*
     6596     * IMPORTANT!!!
     6597     * If you modify code here, make sure to check whether hmR0SvmCallRing3Callback() needs to be updated too.
     6598     */
    65966599
    65976600    /* Save the guest state if necessary. */
     
    67146717        pVCpu->hm.s.fLeaveDone = true;
    67156718    }
     6719
     6720    /*
     6721     * IMPORTANT!!!
     6722     * If you modify code here, make sure to check whether hmR0SvmCallRing3Callback() needs to be updated too.
     6723     */
    67166724
    67176725    /* Deregister hook now that we've left HM context before re-enabling preemption. */
     
    68376845 *                          may be out-of-sync. Make sure to update the required
    68386846 *                          fields before using them.
    6839  *
    6840  * @remarks If you modify code here, make sure to check whether
    6841  *          hmR0VmxLeave() needs to be updated too!!!
    68426847 */
    68436848DECLCALLBACK(int) hmR0VmxCallRing3Callback(PVMCPU pVCpu, VMMCALLRING3 enmOperation, void *pvUser)
     
    68456850    if (enmOperation == VMMCALLRING3_VM_R0_ASSERTION)
    68466851    {
    6847         /* If anything here asserts or fails, good luck. */
     6852        /*
     6853         * !!! IMPORTANT !!!
     6854         * If you modify code here, make sure to check whether hmR0VmxLeave() and hmR0VmxLeaveSession() needs
     6855         * to be updated too. This is a stripped down version which gets out ASAP trying to not trigger any assertion.
     6856         */
    68486857        VMMRZCallRing3RemoveNotification(pVCpu);
    68496858        VMMRZCallRing3Disable(pVCpu);
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