Changeset 36041 in vbox for trunk/include/VBox
- Timestamp:
- Feb 21, 2011 4:04:53 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70151
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/uvm.h
r35361 r36041 140 140 141 141 /** @def UVM_ASSERT_VALID_EXT_RETURN 142 * Asserts a the VM handle is valid for external access, i.e. not being 143 * destroy or terminated. 142 * Asserts a user mode VM handle is valid for external access. 144 143 */ 145 #define UVM_ASSERT_VALID_EXT_RETURN( pVM,rc) \146 AssertMsgReturn( RT_VALID_ALIGNED_PTR( pVM, PAGE_SIZE) \147 && ( pUVM)->u32Magic == UVM_MAGIC, \148 (" pUVM=%p u32Magic=%#x\n", (pUVM), \149 RT_VALID_ALIGNED_PTR( pVM, PAGE_SIZE) ? (pUVM)->u32Magic : 0), \150 ( rc))144 #define UVM_ASSERT_VALID_EXT_RETURN(a_pUVM, a_rc) \ 145 AssertMsgReturn( RT_VALID_ALIGNED_PTR(a_pUVM, PAGE_SIZE) \ 146 && (a_pUVM)->u32Magic == UVM_MAGIC, \ 147 ("a_pUVM=%p u32Magic=%#x\n", (a_pUVM), \ 148 RT_VALID_ALIGNED_PTR(a_pUVM, PAGE_SIZE) ? (a_pUVM)->u32Magic : 0), \ 149 (a_rc)) 151 150 152 151 #endif -
trunk/include/VBox/vmm/vmapi.h
r35810 r36041 344 344 VMMR3DECL(PVM) VMR3EnumVMs(PVM pVMPrev); 345 345 346 VMMR3DECL(PVM) VMR3GetVM(PUVM pUVM); 347 VMMR3DECL(PUVM) VMR3GetUVM(PVM pVM); 348 VMMR3DECL(uint32_t) VMR3RetainUVM(PUVM pUVM); 349 VMMR3DECL(uint32_t) VMR3ReleaseUVM(PUVM pUVM); 350 VMMR3DECL(const char *) VMR3GetName(PUVM pUVM); 351 VMMR3DECL(PRTUUID) VMR3GetUuid(PUVM pUVM, PRTUUID pUuid); 352 VMMR3DECL(VMSTATE) VMR3GetState(PVM pVM); 353 VMMR3DECL(VMSTATE) VMR3GetStateU(PUVM pUVM); 354 VMMR3DECL(const char *) VMR3GetStateName(VMSTATE enmState); 355 346 356 /** 347 357 * VM destruction callback. … … 357 367 VMMR3DECL(int) VMR3AtStateRegister(PVM pVM, PFNVMATSTATE pfnAtState, void *pvUser); 358 368 VMMR3DECL(int) VMR3AtStateDeregister(PVM pVM, PFNVMATSTATE pfnAtState, void *pvUser); 359 VMMR3DECL(VMSTATE) VMR3GetState(PVM pVM);360 VMMR3DECL(const char *) VMR3GetStateName(VMSTATE enmState);361 369 VMMR3DECL(bool) VMR3TeleportedAndNotFullyResumedYet(PVM pVM); 362 370 VMMR3DECL(int) VMR3AtErrorRegister(PVM pVM, PFNVMATERROR pfnAtError, void *pvUser); … … 409 417 VMMR3DECL(int) VMR3HotUnplugCpu(PVM pVM, VMCPUID idCpu); 410 418 VMMR3DECL(int) VMR3HotPlugCpu(PVM pVM, VMCPUID idCpu); 411 VMMR3DECL(int) VMR3SetCpuExecutionCap(PVM pVM, u nsigned ulExecutionCap);419 VMMR3DECL(int) VMR3SetCpuExecutionCap(PVM pVM, uint32_t uCpuExecutionCap); 412 420 /** @} */ 413 421 #endif /* IN_RING3 */
Note:
See TracChangeset
for help on using the changeset viewer.