VirtualBox

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


Ignore:
Timestamp:
Oct 9, 2013 1:41:07 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89732
Message:

VMM/HMVMXR0: Comment update.

File:
1 edited

Legend:

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

    r49003 r49004  
    11631163 *          when NestedPaging is supported and providing @a enmFlush that is
    11641164 *          supported by the CPU.
     1165 * @remarks Can be called with interrupts disabled.
    11651166 */
    11661167static void hmR0VmxFlushEpt(PVMCPU pVCpu, VMX_FLUSH_EPT enmFlush)
     
    11971198 * @param   GCPtr       Virtual address of the page to flush (can be 0 depending
    11981199 *                      on @a enmFlush).
     1200 *
     1201 * @remarks Can be called with interrupts disabled.
    11991202 */
    12001203static void hmR0VmxFlushVpid(PVM pVM, PVMCPU pVCpu, VMX_FLUSH_VPID enmFlush, RTGCPTR GCPtr)
     
    56245627     * -> continue with VM-exit handling -> hmR0VmxSaveGuestControlRegs() and here we are.
    56255628     *
     5629     * The reason for such complicated handling is because VM-exits that call into PGM expect CR3 to be up-to-date and thus
     5630     * if any CR3-saves -before- the VM-exit (longjmp) postponed the CR3 update via the force-flag, any VM-exit handler that
     5631     * calls into PGM when it re-saves CR3 will end up here and we call PGMUpdateCR3(). This is why the code below should
     5632     * -NOT- check if HMVMX_UPDATED_GUEST_CR3 is already set or not!
     5633     *
    56265634     * The longjmp exit path can't check these CR3 force-flags and call code that takes a lock again. We cover for it here.
    56275635     */
     
    62046212 * @param   fSaveGuestState     Whether to save the guest state or not.
    62056213 *
     6214 * @remarks If you modify code here, make sure to check whether
     6215 *          hmR0VmxCallRing3Callback() needs to be updated too.
    62066216 * @remarks No-long-jmp zone!!!
    62076217 */
     
    64506460 *                          may be out-of-sync. Make sure to update the required
    64516461 *                          fields before using them.
     6462 * @remarks If you modify code here, make sure to check whether
     6463 *          hmR0VmxLeave() needs to be updated too.
    64526464 */
    64536465DECLCALLBACK(int) hmR0VmxCallRing3Callback(PVMCPU pVCpu, VMMCALLRING3 enmOperation, void *pvUser)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette