Changeset 23080 in vbox
- Timestamp:
- Sep 17, 2009 10:08:00 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 52430
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmapi.h
r23016 r23080 365 365 VMMR3DECL(int) VMR3AtRuntimeErrorDeregister(PVM pVM, PFNVMATRUNTIMEERROR pfnAtRuntimeError, void *pvUser); 366 366 VMMR3DECL(int) VMR3SetRuntimeErrorWorker(PVM pVM); 367 VMMR3DECL(int) VMR3ReqCall(PVM pVM, VMCPUID idDstCpu, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);367 VMMR3DECL(int) VMR3ReqCall(PVM pVM, VMCPUID idDstCpu, PVMREQ *ppReq, unsigned cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 368 368 VMMR3DECL(int) VMR3ReqCallU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 369 369 VMMR3DECL(int) VMR3ReqCallVU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args); -
trunk/src/VBox/Main/ConsoleImpl.cpp
r23020 r23080 2924 2924 */ 2925 2925 PVMREQ pReq; 2926 int vrc = VMR3ReqCall (mpVM, VMCPUID_ANY, &pReq, 0 /* no wait! */, 2926 int vrc = VMR3ReqCall (mpVM, VMCPUID_ANY, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS, 2927 2927 (PFNRT) Console::changeDrive, 8, 2928 this, pszDevice, uInstance, uLun, eState, peState, 2929 pszPath, fPassthrough); 2928 this, pszDevice, uInstance, uLun, eState, peState, pszPath, fPassthrough); 2930 2929 2931 2930 /* leave the lock before waiting for a result (EMT will call us back!) */ … … 3446 3445 */ 3447 3446 PVMREQ pReq; 3448 int vrc = VMR3ReqCall (mpVM, 0 /*idDstCpu*/, &pReq, 0 /* no wait! */, 3447 int vrc = VMR3ReqCall (mpVM, 0 /*idDstCpu*/, &pReq, 0 /* no wait! */, VMREQFLAGS_VBOX_STATUS, 3449 3448 (PFNRT) Console::changeNetworkAttachment, 5, 3450 3449 this, pszDevice, uInstance, uLun, aNetworkAdapter); -
trunk/src/VBox/VMM/VMReq.cpp
r23017 r23080 69 69 * be completed. Use RT_INDEFINITE_WAIT to only 70 70 * wait till it's completed. 71 * @param fFlags A combination of the VMREQFLAGS values. 71 72 * @param pfnFunction Pointer to the function to call. 72 73 * @param cArgs Number of arguments following in the ellipsis. 73 74 * Not possible to pass 64-bit arguments! 74 75 * @param ... Function arguments. 75 * 76 * @todo Add fFlags... 77 */ 78 VMMR3DECL(int) VMR3ReqCall(PVM pVM, VMCPUID idDstCpu, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...) 76 */ 77 VMMR3DECL(int) VMR3ReqCall(PVM pVM, VMCPUID idDstCpu, PVMREQ *ppReq, unsigned cMillies, uint32_t fFlags, 78 PFNRT pfnFunction, unsigned cArgs, ...) 79 79 { 80 80 va_list va; 81 81 va_start(va, cArgs); 82 int rc = VMR3ReqCallVU(pVM->pUVM, idDstCpu, ppReq, cMillies, VMREQFLAGS_VBOX_STATUS, pfnFunction, cArgs, va);82 int rc = VMR3ReqCallVU(pVM->pUVM, idDstCpu, ppReq, cMillies, fFlags, pfnFunction, cArgs, va); 83 83 va_end(va); 84 84 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.