Changeset 44375 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jan 25, 2013 12:41:24 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r44373 r44375 104 104 * @param pVM Pointer to the VM. 105 105 */ 106 VMMR3 DECL(int) EMR3Init(PVM pVM)106 VMMR3_INT_DECL(int) EMR3Init(PVM pVM) 107 107 { 108 108 LogFlow(("EMR3Init\n")); … … 422 422 * @param pVM Pointer to the VM. 423 423 */ 424 VMMR3 DECL(void) EMR3Relocate(PVM pVM)424 VMMR3_INT_DECL(void) EMR3Relocate(PVM pVM) 425 425 { 426 426 LogFlow(("EMR3Relocate\n")); … … 441 441 * @param pVCpu Pointer to the VMCPU. 442 442 */ 443 VMMR3 DECL(void) EMR3ResetCpu(PVMCPU pVCpu)443 VMMR3_INT_DECL(void) EMR3ResetCpu(PVMCPU pVCpu) 444 444 { 445 445 pVCpu->em.s.fForceRAW = false; … … 461 461 * @param pVM Pointer to the VM. 462 462 */ 463 VMMR3 DECL(void) EMR3Reset(PVM pVM)463 VMMR3_INT_DECL(void) EMR3Reset(PVM pVM) 464 464 { 465 465 Log(("EMR3Reset: \n")); … … 478 478 * @param pVM Pointer to the VM. 479 479 */ 480 VMMR3 DECL(int) EMR3Term(PVM pVM)480 VMMR3_INT_DECL(int) EMR3Term(PVM pVM) 481 481 { 482 482 AssertMsg(pVM->em.s.offVM, ("bad init order!\n")); … … 652 652 * @returns VERR_INVALID_PARAMETER on an invalid enmMode value. 653 653 * 654 * @param p VM Pointer to the VM.654 * @param pUVM The user mode VM handle. 655 655 * @param enmPolicy The scheduling policy to change. 656 656 * @param fEnforce Whether to enforce the policy or not. 657 657 */ 658 VMMR3DECL(int) EMR3SetExecutionPolicy(PVM pVM, EMEXECPOLICY enmPolicy, bool fEnforce) 659 { 660 VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE); 658 VMMR3DECL(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); 661 662 AssertReturn(enmPolicy > EMEXECPOLICY_INVALID && enmPolicy < EMEXECPOLICY_END, VERR_INVALID_PARAMETER); 662 663 663 664 struct EMR3SETEXECPOLICYARGS Args = { enmPolicy, fEnforce }; 664 return VMMR3EmtRendezvous(p VM, VMMEMTRENDEZVOUS_FLAGS_TYPE_DESCENDING, emR3SetExecutionPolicy, &Args);665 return VMMR3EmtRendezvous(pUVM->pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_DESCENDING, emR3SetExecutionPolicy, &Args); 665 666 } 666 667 … … 1933 1934 * @param pVCpu Pointer to the VMCPU. 1934 1935 */ 1935 VMMR3 DECL(int) EMR3ExecuteVM(PVM pVM, PVMCPU pVCpu)1936 VMMR3_INT_DECL(int) EMR3ExecuteVM(PVM pVM, PVMCPU pVCpu) 1936 1937 { 1937 1938 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 1193 1193 * @param pVCpu Pointer to the VMCPU. 1194 1194 */ 1195 VMMR3 DECL(int) EMR3CheckRawForcedActions(PVM pVM, PVMCPU pVCpu)1195 VMMR3_INT_DECL(int) EMR3CheckRawForcedActions(PVM pVM, PVMCPU pVCpu) 1196 1196 { 1197 1197 int rc = emR3RawForcedActions(pVM, pVCpu, pVCpu->em.s.pCtx);
Note:
See TracChangeset
for help on using the changeset viewer.