VirtualBox

Changeset 45419 in vbox for trunk


Ignore:
Timestamp:
Apr 8, 2013 11:07:50 PM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0: obsolete comments.

File:
1 edited

Legend:

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

    r45414 r45419  
    831831{
    832832    /* Setup the main VM exit handlers. */
    833     /** @todo I'm told lookup table for function pointers is a bad idea in terms
    834      *        of performance. Make these static for now and not do change anything
    835      *        at runtime so we can easily switch to a switch-case approach later. */
    836833    AssertCompile(VMX_EXIT_MAX + 1 == RT_ELEMENTS(s_apfnVMExitHandlers));
    837834#ifdef DEBUG
     
    11411138 *
    11421139 * @remarks Called with interrupts disabled.
    1143  * @todo Statistics.
    11441140 */
    11451141static DECLCALLBACK(void) hmR0VmxFlushTaggedTlbBoth(PVM pVM, PVMCPU pVCpu)
     
    12591255 *
    12601256 * @remarks Called with interrupts disabled.
    1261  * @todo Statistics.
    12621257 */
    12631258static DECLCALLBACK(void) hmR0VmxFlushTaggedTlbEpt(PVM pVM, PVMCPU pVCpu)
     
    13261321 *
    13271322 * @remarks Called with interrupts disabled.
    1328  * @todo Statistics.
    13291323 */
    13301324static DECLCALLBACK(void) hmR0VmxFlushTaggedTlbVpid(PVM pVM, PVMCPU pVCpu)
     
    27422736        uint64_t u64CR0Mask = 0;
    27432737        u64CR0Mask =  X86_CR0_PE
    2744                     | X86_CR0_WP    /** @todo do we need to monitor WP with nested paging? */
    2745                     | X86_CR0_PG    /** @todo do we need to monitor PG with nested paging? */
     2738                    | X86_CR0_WP
     2739                    | X86_CR0_PG
    27462740                    | X86_CR0_ET    /* Bit ignored on VM-entry and VM-exit. Don't let the guest modify the host CR0.ET */
    27472741                    | X86_CR0_CD    /* Bit ignored on VM-entry and VM-exit. Don't let the guest modify the host CR0.CD */
     
    29322926        uint64_t u64CR4Mask = 0;
    29332927        u64CR4Mask =  X86_CR4_VME
    2934                     | X86_CR4_PAE   /** @todo should we intercept this bit with Nested Paging? */
    2935                     | X86_CR4_PGE   /** @todo why should we care if guest changes PGE bit or not with Nested Paging? */
    2936                     | X86_CR4_PSE   /** @todo do we care about page-size extensions in the Nested Paging case? */
     2928                    | X86_CR4_PAE
     2929                    | X86_CR4_PGE
     2930                    | X86_CR4_PSE
    29372931                    | X86_CR4_VMXE;
    29382932        pVCpu->hm.s.vmx.cr4_mask = u64CR4Mask;
     
    30633057            && !CPUMIsGuestInV86ModeEx(pCtx)))
    30643058    {
    3065         /** @todo DPL checks for CS, SS. */
    30663059        /* Protected mode checks */
    30673060        /* CS */
     
    36623655 *
    36633656 * @remarks No-long-jump zone!!!
    3664  * @todo change this to return void.
    36653657 */
    36663658DECLINLINE(int) hmR0VmxSetupVMRunHandler(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
     
    81518143
    81528144    Log(("EPT return to ring-3 rc=%d\n"));
    8153 
    8154     /* We need to go back to ring-3 to emulate the instruction as we could not handle it correctly, tell TRPM. */
    8155     /** @todo Shouldn't we update TRPM here?  */
    81568145    return rc;
    81578146}
     
    82388227    if (rc == VINF_EM_RAW_GUEST_TRAP)
    82398228    {
    8240         /** @todo revisit this.  */
    82418229        /* DR6, DR7.GD and IA32_DEBUGCTL.LBR are not updated yet. See Intel spec. 27.1 "Architectural State before a VM-Exit". */
    82428230        pMixedCtx->dr[6] = uDR6;
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