Changeset 44340 in vbox for trunk/include/VBox
- Timestamp:
- Jan 23, 2013 4:20:07 PM (12 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dbggui.h
r28800 r44340 98 98 * 99 99 * @returns VBox status code. 100 * @param p VMThe VM handle.100 * @param pUVM The VM handle. 101 101 * @param ppGui Where to store the pointer to the debugger instance. 102 102 * @param ppGuiVT Where to store the virtual method table pointer. 103 103 * Optional. 104 104 */ 105 DBGDECL(int) DBGGuiCreateForVM(P VM pVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT);105 DBGDECL(int) DBGGuiCreateForVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 106 106 /** @copydoc DBGGuiCreateForVM. */ 107 typedef DECLCALLBACK(int) FNDBGGUICREATEFORVM(P VM pVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT);107 typedef DECLCALLBACK(int) FNDBGGUICREATEFORVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 108 108 /** Pointer to DBGGuiCreateForVM. */ 109 109 typedef FNDBGGUICREATEFORVM *PFNDBGGUICREATEFORVM; -
trunk/include/VBox/vmm/cfgm.h
r39853 r44340 186 186 */ 187 187 VMMR3DECL(PCFGMNODE) CFGMR3GetRoot(PVM pVM); 188 VMMR3DECL(PCFGMNODE) CFGMR3GetRootU(PUVM pUVM); 188 189 VMMR3DECL(PCFGMNODE) CFGMR3GetParent(PCFGMNODE pNode); 189 190 VMMR3DECL(PCFGMNODE) CFGMR3GetParentEx(PVM pVM, PCFGMNODE pNode); -
trunk/include/VBox/vmm/em.h
r43394 r44340 225 225 * @{ 226 226 */ 227 VMMR3DECL(int) EMR3Init(PVM pVM);228 VMMR3DECL(void) EMR3Relocate(PVM pVM);229 VMMR3DECL(void) EMR3ResetCpu(PVMCPU pVCpu);230 VMMR3DECL(void) EMR3Reset(PVM pVM);231 VMMR3DECL(int) EMR3Term(PVM pVM);227 VMMR3DECL(int) EMR3Init(PVM pVM); 228 VMMR3DECL(void) EMR3Relocate(PVM pVM); 229 VMMR3DECL(void) EMR3ResetCpu(PVMCPU pVCpu); 230 VMMR3DECL(void) EMR3Reset(PVM pVM); 231 VMMR3DECL(int) EMR3Term(PVM pVM); 232 232 VMMR3DECL(DECLNORETURN(void)) EMR3FatalError(PVMCPU pVCpu, int rc); 233 VMMR3DECL(int) EMR3ExecuteVM(PVM pVM, PVMCPU pVCpu); 234 VMMR3DECL(int) EMR3CheckRawForcedActions(PVM pVM, PVMCPU pVCpu); 235 VMMR3DECL(int) EMR3Interpret(PVM pVM); 233 VMMR3DECL(int) EMR3ExecuteVM(PVM pVM, PVMCPU pVCpu); 234 VMMR3DECL(int) EMR3CheckRawForcedActions(PVM pVM, PVMCPU pVCpu); 235 VMMR3DECL(int) EMR3Interpret(PVM pVM); 236 VMMR3_INT_DECL(int) EMR3NotifyResume(PVM pVM); 237 VMMR3_INT_DECL(int) EMR3NotifySuspend(PVM pVM); 238 VMMR3_INT_DECL(bool) EMR3IsExecutionAllowed(PVM pVM, PVMCPU pVCpu); 236 239 237 240 /** -
trunk/include/VBox/vmm/vmapi.h
r43387 r44340 316 316 } VMINITCOMPLETED; 317 317 318 319 VMMR3DECL(int) VMR3Create(uint32_t cCpus, PCVMM2USERMETHODS pVm2UserCbs,320 PFNVMATERROR pfnVMAtError, void *pvUserVM,321 PFNCFGMCONSTRUCTOR pfnCFGMConstructor, void *pvUserCFGM,322 PVM *ppVM);323 VMMR3DECL(int) VMR3PowerOn(PVM pVM);324 VMMR3DECL(int) VMR3Suspend(PVM pVM);325 VMMR3DECL(int) VMR3Resume(PVM pVM);326 VMMR3DECL(int) VMR3Reset(PVM pVM);327 328 318 /** 329 319 * Progress callback. … … 340 330 typedef FNVMPROGRESS *PFNVMPROGRESS; 341 331 342 VMMR3DECL(int) VMR3Save(PVM pVM, const char *pszFilename, bool fContinueAfterwards, PFNVMPROGRESS pfnProgress, void *pvUser, bool *pfSuspended); 343 VMMR3DECL(int) VMR3Teleport(PVM pVM, uint32_t cMsDowntime, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, PFNVMPROGRESS pfnProgress, void *pvProgressUser, bool *pfSuspended); 344 VMMR3DECL(int) VMR3LoadFromFile(PVM pVM, const char *pszFilename, PFNVMPROGRESS pfnProgress, void *pvUser); 345 VMMR3DECL(int) VMR3LoadFromStream(PVM pVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, 346 PFNVMPROGRESS pfnProgress, void *pvProgressUser); 347 VMMR3DECL(int) VMR3PowerOff(PVM pVM); 348 VMMR3DECL(int) VMR3Destroy(PVM pVM); 349 VMMR3DECL(void) VMR3Relocate(PVM pVM, RTGCINTPTR offDelta); 350 VMMR3DECL(PVM) VMR3EnumVMs(PVM pVMPrev); 332 /** 333 * VM destruction callback. 334 * @param pVM The VM which is about to be destroyed. 335 * @param pvUser The user parameter specified at registration. 336 */ 337 typedef DECLCALLBACK(void) FNVMATDTOR(PVM pVM, void *pvUser); 338 /** Pointer to a VM destruction callback. */ 339 typedef FNVMATDTOR *PFNVMATDTOR; 340 341 342 VMMR3DECL(int) VMR3Create(uint32_t cCpus, PCVMM2USERMETHODS pVm2UserCbs, 343 PFNVMATERROR pfnVMAtError, void *pvUserVM, 344 PFNCFGMCONSTRUCTOR pfnCFGMConstructor, void *pvUserCFGM, 345 PVM *ppVM, PUVM *ppUVM); 346 VMMR3DECL(int) VMR3PowerOn(PUVM pUVM); 347 VMMR3DECL(int) VMR3Suspend(PUVM pUVM); 348 VMMR3DECL(int) VMR3Resume(PUVM pUVM); 349 VMMR3DECL(int) VMR3Reset(PUVM pUVM); 350 VMMR3DECL(int) VMR3Save(PUVM pUVM, const char *pszFilename, bool fContinueAfterwards, PFNVMPROGRESS pfnProgress, void *pvUser, bool *pfSuspended); 351 VMMR3_INT_DECL(int) VMR3SaveFT(PUVM pUVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, bool *pfSuspended, bool fSkipStateChanges); 352 VMMR3DECL(int) VMR3Teleport(PUVM pUVM, uint32_t cMsDowntime, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, PFNVMPROGRESS pfnProgress, void *pvProgressUser, bool *pfSuspended); 353 VMMR3DECL(int) VMR3LoadFromFile(PUVM pUVM, const char *pszFilename, PFNVMPROGRESS pfnProgress, void *pvUser); 354 VMMR3DECL(int) VMR3LoadFromStream(PUVM pUVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, 355 PFNVMPROGRESS pfnProgress, void *pvProgressUser); 356 VMMR3_INT_DECL(int) VMR3LoadFromStreamFT(PUVM pUVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser); 357 358 VMMR3DECL(int) VMR3PowerOff(PUVM pUVM); 359 VMMR3DECL(int) VMR3Destroy(PUVM pUVM); 360 VMMR3_INT_DECL(void) VMR3Relocate(PVM pVM, RTGCINTPTR offDelta); 351 361 352 362 VMMR3DECL(PVM) VMR3GetVM(PUVM pUVM); … … 359 369 VMMR3DECL(VMSTATE) VMR3GetStateU(PUVM pUVM); 360 370 VMMR3DECL(const char *) VMR3GetStateName(VMSTATE enmState); 361 362 /** 363 * VM destruction callback. 364 * @param pVM The VM which is about to be destroyed. 365 * @param pvUser The user parameter specified at registration. 366 */ 367 typedef DECLCALLBACK(void) FNVMATDTOR(PVM pVM, void *pvUser); 368 /** Pointer to a VM destruction callback. */ 369 typedef FNVMATDTOR *PFNVMATDTOR; 370 371 VMMR3DECL(int) VMR3AtDtorRegister(PFNVMATDTOR pfnAtDtor, void *pvUser); 372 VMMR3DECL(int) VMR3AtDtorDeregister(PFNVMATDTOR pfnAtDtor); 373 VMMR3DECL(int) VMR3AtStateRegister(PVM pVM, PFNVMATSTATE pfnAtState, void *pvUser); 374 VMMR3DECL(int) VMR3AtStateDeregister(PVM pVM, PFNVMATSTATE pfnAtState, void *pvUser); 375 VMMR3DECL(bool) VMR3TeleportedAndNotFullyResumedYet(PVM pVM); 376 VMMR3DECL(int) VMR3AtErrorRegister(PVM pVM, PFNVMATERROR pfnAtError, void *pvUser); 377 VMMR3DECL(int) VMR3AtErrorRegisterU(PUVM pVM, PFNVMATERROR pfnAtError, void *pvUser); 378 VMMR3DECL(int) VMR3AtErrorDeregister(PVM pVM, PFNVMATERROR pfnAtError, void *pvUser); 379 VMMR3DECL(void) VMR3SetErrorWorker(PVM pVM); 380 VMMR3DECL(uint32_t) VMR3GetErrorCount(PVM pVM); 381 VMMR3DECL(uint32_t) VMR3GetErrorCountU(PUVM pUVM); 382 VMMR3DECL(int) VMR3AtRuntimeErrorRegister(PVM pVM, PFNVMATRUNTIMEERROR pfnAtRuntimeError, void *pvUser); 383 VMMR3DECL(int) VMR3AtRuntimeErrorDeregister(PVM pVM, PFNVMATRUNTIMEERROR pfnAtRuntimeError, void *pvUser); 384 VMMR3DECL(int) VMR3SetRuntimeErrorWorker(PVM pVM); 385 VMMR3DECL(uint32_t) VMR3GetRuntimeErrorCount(PVM pVM); 386 VMMR3DECL(int) VMR3ReqCall(PVM pVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 387 VMMR3DECL(int) VMR3ReqCallU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 388 VMMR3DECL(int) VMR3ReqCallVU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args); 389 VMMR3DECL(int) VMR3ReqCallWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 390 VMMR3DECL(int) VMR3ReqCallNoWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 391 VMMR3DECL(int) VMR3ReqCallVoidWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 392 VMMR3DECL(int) VMR3ReqCallVoidNoWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 393 VMMR3DECL(int) VMR3ReqPriorityCallWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 394 VMMR3DECL(int) VMR3ReqPriorityCallVoidWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 395 VMMR3DECL(int) VMR3ReqAlloc(PVM pVM, PVMREQ *ppReq, VMREQTYPE enmType, VMCPUID idDstCpu); 396 VMMR3DECL(int) VMR3ReqAllocU(PUVM pUVM, PVMREQ *ppReq, VMREQTYPE enmType, VMCPUID idDstCpu); 397 VMMR3DECL(int) VMR3ReqFree(PVMREQ pReq); 398 VMMR3DECL(int) VMR3ReqQueue(PVMREQ pReq, RTMSINTERVAL cMillies); 399 VMMR3DECL(int) VMR3ReqWait(PVMREQ pReq, RTMSINTERVAL cMillies); 400 VMMR3DECL(int) VMR3ReqProcessU(PUVM pUVM, VMCPUID idDstCpu, bool fPriorityOnly); 401 VMMR3DECL(void) VMR3NotifyGlobalFFU(PUVM pUVM, uint32_t fFlags); 402 VMMR3DECL(void) VMR3NotifyCpuFFU(PUVMCPU pUVMCpu, uint32_t fFlags); 371 VMMR3DECL(int) VMR3AtStateRegister(PUVM pUVM, PFNVMATSTATE pfnAtState, void *pvUser); 372 VMMR3DECL(int) VMR3AtStateDeregister(PUVM pUVM, PFNVMATSTATE pfnAtState, void *pvUser); 373 VMMR3_INT_DECL(bool) VMR3TeleportedAndNotFullyResumedYet(PVM pVM); 374 VMMR3DECL(int) VMR3AtErrorRegister(PUVM pUVM, PFNVMATERROR pfnAtError, void *pvUser); 375 VMMR3DECL(int) VMR3AtErrorDeregister(PUVM pUVM, PFNVMATERROR pfnAtError, void *pvUser); 376 VMMR3_INT_DECL(void) VMR3SetErrorWorker(PVM pVM); 377 VMMR3_INT_DECL(uint32_t) VMR3GetErrorCount(PUVM pUVM); 378 VMMR3DECL(int) VMR3AtRuntimeErrorRegister(PUVM pUVM, PFNVMATRUNTIMEERROR pfnAtRuntimeError, void *pvUser); 379 VMMR3DECL(int) VMR3AtRuntimeErrorDeregister(PUVM pUVM, PFNVMATRUNTIMEERROR pfnAtRuntimeError, void *pvUser); 380 VMMR3_INT_DECL(int) VMR3SetRuntimeErrorWorker(PVM pVM); 381 VMMR3_INT_DECL(uint32_t) VMR3GetRuntimeErrorCount(PUVM pUVM); 382 383 VMMR3DECL(int) VMR3ReqCallU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 384 VMMR3DECL(int) VMR3ReqCallVU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args); 385 VMMR3_INT_DECL(int) VMR3ReqCallWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 386 VMMR3DECL(int) VMR3ReqCallWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 387 VMMR3DECL(int) VMR3ReqCallNoWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 388 VMMR3DECL(int) VMR3ReqCallNoWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 389 VMMR3_INT_DECL(int) VMR3ReqCallVoidWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 390 VMMR3DECL(int) VMR3ReqCallVoidWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 391 VMMR3DECL(int) VMR3ReqCallVoidNoWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 392 VMMR3DECL(int) VMR3ReqPriorityCallWait(PVM pVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 393 VMMR3DECL(int) VMR3ReqPriorityCallWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 394 VMMR3DECL(int) VMR3ReqPriorityCallVoidWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...); 395 VMMR3DECL(int) VMR3ReqAlloc(PUVM pUVM, PVMREQ *ppReq, VMREQTYPE enmType, VMCPUID idDstCpu); 396 VMMR3DECL(int) VMR3ReqFree(PVMREQ pReq); 397 VMMR3DECL(int) VMR3ReqQueue(PVMREQ pReq, RTMSINTERVAL cMillies); 398 VMMR3DECL(int) VMR3ReqWait(PVMREQ pReq, RTMSINTERVAL cMillies); 399 VMMR3_INT_DECL(int) VMR3ReqProcessU(PUVM pUVM, VMCPUID idDstCpu, bool fPriorityOnly); 400 403 401 /** @name Flags for VMR3NotifyCpuFFU and VMR3NotifyGlobalFFU. 404 402 * @{ */ … … 408 406 #define VMNOTIFYFF_FLAGS_POKE RT_BIT_32(1) 409 407 /** @} */ 410 411 VMMR3DECL(int) VMR3WaitHalted(PVM pVM, PVMCPU pVCpu, bool fIgnoreInterrupts); 412 VMMR3DECL(int) VMR3WaitU(PUVMCPU pUVMCpu); 408 VMMR3_INT_DECL(void) VMR3NotifyGlobalFFU(PUVM pUVM, uint32_t fFlags); 409 VMMR3_INT_DECL(void) VMR3NotifyCpuFFU(PUVMCPU pUVMCpu, uint32_t fFlags); 410 VMMR3_INT_DECL(int) VMR3WaitHalted(PVM pVM, PVMCPU pVCpu, bool fIgnoreInterrupts); 411 VMMR3_INT_DECL(int) VMR3WaitU(PUVMCPU pUVMCpu); 413 412 VMMR3_INT_DECL(int) VMR3AsyncPdmNotificationWaitU(PUVMCPU pUVCpu); 414 413 VMMR3_INT_DECL(void) VMR3AsyncPdmNotificationWakeupU(PUVM pUVM); 415 VMMR3DECL(RTCPUID) VMR3GetVMCPUId(PVM pVM); 416 VMMR3DECL(RTTHREAD) VMR3GetVMCPUThread(PVM pVM); 417 VMMR3DECL(RTTHREAD) VMR3GetVMCPUThreadU(PUVM pUVM); 414 VMMR3_INT_DECL(RTCPUID) VMR3GetVMCPUId(PVM pVM); 415 VMMR3DECL(RTTHREAD) VMR3GetVMCPUThread(PUVM pUVM); 418 416 VMMR3DECL(RTNATIVETHREAD) VMR3GetVMCPUNativeThread(PVM pVM); 419 417 VMMR3DECL(RTNATIVETHREAD) VMR3GetVMCPUNativeThreadU(PUVM pUVM); 420 VMMR3DECL(int) VMR3GetCpuCoreAndPackageIdFromCpuId(P VM pVM, VMCPUID idCpu, uint32_t *pidCpuCore, uint32_t *pidCpuPackage);421 VMMR3DECL(int) VMR3HotUnplugCpu(P VM pVM, VMCPUID idCpu);422 VMMR3DECL(int) VMR3HotPlugCpu(P VM pVM, VMCPUID idCpu);423 VMMR3DECL(int) VMR3SetCpuExecutionCap(P VM pVM, uint32_t uCpuExecutionCap);418 VMMR3DECL(int) VMR3GetCpuCoreAndPackageIdFromCpuId(PUVM pUVM, VMCPUID idCpu, uint32_t *pidCpuCore, uint32_t *pidCpuPackage); 419 VMMR3DECL(int) VMR3HotUnplugCpu(PUVM pUVM, VMCPUID idCpu); 420 VMMR3DECL(int) VMR3HotPlugCpu(PUVM pUVM, VMCPUID idCpu); 421 VMMR3DECL(int) VMR3SetCpuExecutionCap(PUVM pUVM, uint32_t uCpuExecutionCap); 424 422 /** @} */ 425 423 #endif /* IN_RING3 */
Note:
See TracChangeset
for help on using the changeset viewer.