VirtualBox

Changeset 34326 in vbox for trunk/src/VBox/VMM/VMM.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/VMM.cpp

    r34322 r34326  
    447447
    448448/**
    449  * Initializes the per-VCPU VMM.
    450  *
    451  * @returns VBox status code.
    452  * @param   pVM         The VM to operate on.
    453  */
    454 VMMR3DECL(int) VMMR3InitCPU(PVM pVM)
    455 {
    456     LogFlow(("VMMR3InitCPU\n"));
    457     return VINF_SUCCESS;
    458 }
    459 
    460 
    461 /**
    462449 * Initializes the R0 VMM.
    463450 *
     
    759746#endif
    760747    return rc;
    761 }
    762 
    763 
    764 /**
    765  * Terminates the per-VCPU VMM.
    766  *
    767  * Termination means cleaning up and freeing all resources,
    768  * the VM it self is at this point powered off or suspended.
    769  *
    770  * @returns VBox status code.
    771  * @param   pVM         The VM to operate on.
    772  */
    773 VMMR3_INT_DECL(int) VMMR3TermCPU(PVM pVM)
    774 {
    775     return VINF_SUCCESS;
    776748}
    777749
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