Changeset 20805 in vbox
- Timestamp:
- Jun 23, 2009 8:07:22 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48940
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMReq.cpp
r20651 r20805 63 63 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 64 64 * one of the following special values: 65 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.65 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 66 66 * @param ppReq Where to store the pointer to the request. 67 67 * This will be NULL or a valid request pointer not matter what happends. … … 99 99 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 100 100 * one of the following special values: 101 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.101 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 102 102 * @param ppReq Where to store the pointer to the request. 103 103 * This will be NULL or a valid request pointer not matter what happends. … … 135 135 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 136 136 * one of the following special values: 137 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.137 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 138 138 * @param ppReq Where to store the pointer to the request. 139 139 * This will be NULL or a valid request pointer not matter what happends. … … 171 171 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 172 172 * one of the following special values: 173 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.173 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 174 174 * @param ppReq Where to store the pointer to the request. 175 175 * This will be NULL or a valid request pointer not matter what happends, unless fFlags … … 209 209 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 210 210 * one of the following special values: 211 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.211 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 212 212 * @param ppReq Where to store the pointer to the request. 213 213 * This will be NULL or a valid request pointer not matter what happends, unless fFlags … … 247 247 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 248 248 * one of the following special values: 249 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.249 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 250 250 * @param ppReq Where to store the pointer to the request. 251 251 * This will be NULL or a valid request pointer not matter what happends, unless fFlags … … 386 386 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 387 387 * one of the following special values: 388 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.388 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 389 389 */ 390 390 VMMR3DECL(int) VMR3ReqAlloc(PVM pVM, PVMREQ *ppReq, VMREQTYPE enmType, VMCPUID idDstCpu) … … 407 407 * @param idDstCpu The destination CPU(s). Either a specific CPU ID or 408 408 * one of the following special values: 409 * VMCPUID_ANY, VMCPUID_ ALL or VMCPUID_ALL_REVERSE.409 * VMCPUID_ANY, VMCPUID_OTHER, VMCPUID_ALL or VMCPUID_ALL_REVERSE. 410 410 */ 411 411 VMMR3DECL(int) VMR3ReqAllocU(PUVM pUVM, PVMREQ *ppReq, VMREQTYPE enmType, VMCPUID idDstCpu) … … 420 420 AssertPtrReturn(ppReq, VERR_INVALID_POINTER); 421 421 AssertMsgReturn( idDstCpu == VMCPUID_ANY 422 || idDstCpu == VMCPUID_OTHER 422 423 || idDstCpu < pUVM->cCpus 423 424 || idDstCpu == VMCPUID_ALL … … 711 712 LogFlow(("VMR3ReqQueue: returns %Rrc\n", rc)); 712 713 } 713 else if ( pReq->idDstCpu == VMCPUID_ANY 714 && !pUVCpu /* only EMT threads have a valid pointer stored in the TLS slot. */) 714 else if ( ( pReq->idDstCpu == VMCPUID_ANY 715 && !pUVCpu /* only EMT threads have a valid pointer stored in the TLS slot. */) 716 || pReq->idDstCpu == VMCPUID_OTHER) 715 717 { 716 718 unsigned fFlags = ((VMREQ volatile *)pReq)->fFlags; /* volatile paranoia */ 719 720 Assert(pReq->idDstCpu != VMCPUID_OTHER || pUVCpu); 717 721 718 722 /*
Note:
See TracChangeset
for help on using the changeset viewer.