VirtualBox

Changeset 61743 in vbox


Ignore:
Timestamp:
Jun 17, 2016 1:32:54 PM (9 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: comments, removed old todos.

File:
1 edited

Legend:

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

    r61728 r61743  
    1138911389{
    1139011390    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    11391     int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);    /** @todo review if CR4 is really required by EM. */
     11391    int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);
    1139211392    AssertRCReturn(rc, rc);
    1139311393
     
    1141511415{
    1141611416    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    11417     int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);                /** @todo review if CR4 is really required by EM. */
     11417    int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);
    1141811418    rc    |= hmR0VmxSaveGuestAutoLoadStoreMsrs(pVCpu, pMixedCtx);  /* For MSR_K8_TSC_AUX */
    1141911419    AssertRCReturn(rc, rc);
     
    1144511445{
    1144611446    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    11447     int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);    /** @todo review if CR4 is really required by EM. */
    11448     rc    |= hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx);    /** @todo review if CR0 is really required by EM. */
     11447    int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);
     11448    rc    |= hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx);
    1144911449    AssertRCReturn(rc, rc);
    1145011450
     
    1252412524    }
    1252512525
    12526     /** @todo Emulate task switch someday, currently just going back to ring-3 for
    12527      *        emulation. */
     12526    /* Fall back to the interpreter to emulate the task-switch. */
    1252812527    STAM_COUNTER_INC(&pVCpu->hm.s.StatExitTaskSwitch);
    1252912528    return VERR_EM_INTERPRETER;
     
    1348613485                            | HM_CHANGED_VMX_GUEST_APIC_STATE);
    1348713486#else
    13488         /* This is typically a shadow page table sync or a MMIO instruction. But we
    13489          * may have emulated something like LTR or a far jump. Any part of the CPU
    13490          * context may have changed.
     13487        /*
     13488         * This is typically a shadow page table sync or a MMIO instruction. But we may have
     13489         * emulated something like LTR or a far jump. Any part of the CPU context may have changed.
    1349113490         */
    1349213491        /** @todo take advantage of CPUM changed flags instead of brute forcing. */
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