VirtualBox

Changeset 44375 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jan 25, 2013 12:41:24 PM (12 years ago)
Author:
vboxsync
Message:

EM: pVM -> pUVM for main, mark as many as possible interfaces module internal.

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r44373 r44375  
    104104 * @param   pVM         Pointer to the VM.
    105105 */
    106 VMMR3DECL(int) EMR3Init(PVM pVM)
     106VMMR3_INT_DECL(int) EMR3Init(PVM pVM)
    107107{
    108108    LogFlow(("EMR3Init\n"));
     
    422422 * @param   pVM     Pointer to the VM.
    423423 */
    424 VMMR3DECL(void) EMR3Relocate(PVM pVM)
     424VMMR3_INT_DECL(void) EMR3Relocate(PVM pVM)
    425425{
    426426    LogFlow(("EMR3Relocate\n"));
     
    441441 * @param   pVCpu   Pointer to the VMCPU.
    442442 */
    443 VMMR3DECL(void) EMR3ResetCpu(PVMCPU pVCpu)
     443VMMR3_INT_DECL(void) EMR3ResetCpu(PVMCPU pVCpu)
    444444{
    445445    pVCpu->em.s.fForceRAW = false;
     
    461461 * @param   pVM         Pointer to the VM.
    462462 */
    463 VMMR3DECL(void) EMR3Reset(PVM pVM)
     463VMMR3_INT_DECL(void) EMR3Reset(PVM pVM)
    464464{
    465465    Log(("EMR3Reset: \n"));
     
    478478 * @param   pVM         Pointer to the VM.
    479479 */
    480 VMMR3DECL(int) EMR3Term(PVM pVM)
     480VMMR3_INT_DECL(int) EMR3Term(PVM pVM)
    481481{
    482482    AssertMsg(pVM->em.s.offVM, ("bad init order!\n"));
     
    652652 * @returns VERR_INVALID_PARAMETER on an invalid enmMode value.
    653653 *
    654  * @param   pVM             Pointer to the VM.
     654 * @param   pUVM            The user mode VM handle.
    655655 * @param   enmPolicy       The scheduling policy to change.
    656656 * @param   fEnforce        Whether to enforce the policy or not.
    657657 */
    658 VMMR3DECL(int) EMR3SetExecutionPolicy(PVM pVM, EMEXECPOLICY enmPolicy, bool fEnforce)
    659 {
    660     VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE);
     658VMMR3DECL(int) EMR3SetExecutionPolicy(PUVM pUVM, EMEXECPOLICY enmPolicy, bool fEnforce)
     659{
     660    UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
     661    VM_ASSERT_VALID_EXT_RETURN(pUVM->pVM, VERR_INVALID_VM_HANDLE);
    661662    AssertReturn(enmPolicy > EMEXECPOLICY_INVALID && enmPolicy < EMEXECPOLICY_END, VERR_INVALID_PARAMETER);
    662663
    663664    struct EMR3SETEXECPOLICYARGS Args = { enmPolicy, fEnforce };
    664     return VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_DESCENDING, emR3SetExecutionPolicy, &Args);
     665    return VMMR3EmtRendezvous(pUVM->pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_DESCENDING, emR3SetExecutionPolicy, &Args);
    665666}
    666667
     
    19331934 * @param   pVCpu       Pointer to the VMCPU.
    19341935 */
    1935 VMMR3DECL(int) EMR3ExecuteVM(PVM pVM, PVMCPU pVCpu)
     1936VMMR3_INT_DECL(int) EMR3ExecuteVM(PVM pVM, PVMCPU pVCpu)
    19361937{
    19371938    Log(("EMR3ExecuteVM: pVM=%p enmVMState=%d (%s)  enmState=%d (%s) enmPrevState=%d (%s) fForceRAW=%RTbool\n",
  • trunk/src/VBox/VMM/VMMR3/EMRaw.cpp

    r44362 r44375  
    11931193 * @param   pVCpu       Pointer to the VMCPU.
    11941194 */
    1195 VMMR3DECL(int) EMR3CheckRawForcedActions(PVM pVM, PVMCPU pVCpu)
     1195VMMR3_INT_DECL(int) EMR3CheckRawForcedActions(PVM pVM, PVMCPU pVCpu)
    11961196{
    11971197    int rc = emR3RawForcedActions(pVM, pVCpu, pVCpu->em.s.pCtx);
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