VirtualBox

Changeset 34326 in vbox for trunk/src/VBox/VMM/TM.cpp


Ignore:
Timestamp:
Nov 24, 2010 2:03:55 PM (14 years ago)
Author:
vboxsync
Message:

VMM: Removed the XXXInitCPU and XXXTermCPU methods since all but the HWACCM ones where stubs and the XXXTermCPU bits was not called in all expected paths. The HWACCMR3InitCPU was hooked up as a VMINITCOMPLETED_RING3 hook, essentially leaving it's position in the order of things unchanged, while the HWACCMR3TermCPU call was made static without changing its position at the end of HWACCMR3Term.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/TM.cpp

    r34241 r34326  
    727727
    728728/**
    729  * Initializes the per-VCPU TM.
    730  *
    731  * @returns VBox status code.
    732  * @param   pVM         The VM to operate on.
    733  */
    734 VMM_INT_DECL(int) TMR3InitCPU(PVM pVM)
    735 {
    736     LogFlow(("TMR3InitCPU\n"));
    737     return VINF_SUCCESS;
    738 }
    739 
    740 
    741 /**
    742729 * Checks if the host CPU has a fixed TSC frequency.
    743730 *
     
    10201007    }
    10211008
    1022     return VINF_SUCCESS;
    1023 }
    1024 
    1025 
    1026 /**
    1027  * Terminates the per-VCPU TM.
    1028  *
    1029  * Termination means cleaning up and freeing all resources,
    1030  * the VM it self is at this point powered off or suspended.
    1031  *
    1032  * @returns VBox status code.
    1033  * @param   pVM         The VM to operate on.
    1034  */
    1035 VMM_INT_DECL(int) TMR3TermCPU(PVM pVM)
    1036 {
    10371009    return VINF_SUCCESS;
    10381010}
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