Changeset 19475 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 7, 2009 10:55:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
r19468 r19475 100 100 } 101 101 102 DECLCALLBACK(int) vmmR3SendInitIpi(PVM pVM, VMCPUID idCpu) 103 { 104 PVMCPU pVCpu = VMMGetCpuById(pVM, idCpu); 105 VMCPU_ASSERT_EMT(pVCpu); 106 107 /** @todo: reset CPU and halt till SIPI */ 108 109 return VINF_SUCCESS; 110 } 111 102 112 /** 103 113 * Sends SIPI to the virtual CPU by setting CS:EIP into vector-dependent state … … 115 125 int rc = VMR3ReqCallU(pVM->pUVM, idCpu, &pReq, RT_INDEFINITE_WAIT, 0, 116 126 (PFNRT)vmmR3SendSipi, 3, pVM, idCpu, uVector); 127 AssertRC(rc); 128 VMR3ReqFree(pReq); 129 } 130 131 /** 132 * Sends init IPI to the virtual CPU. 133 * 134 * @param pVM The VM to operate on. 135 * @param idCpu Virtual CPU to perform int IPI on 136 */ 137 VMMR3DECL(void) VMMR3SendInitIpi(PVM pVM, VMCPUID idCpu) 138 { 139 AssertReturnVoid(idCpu < pVM->cCPUs); 140 141 PVMREQ pReq; 142 int rc = VMR3ReqCallU(pVM->pUVM, idCpu, &pReq, RT_INDEFINITE_WAIT, 0, 143 (PFNRT)vmmR3SendInitIpi, 2, pVM, idCpu); 117 144 AssertRC(rc); 118 145 VMR3ReqFree(pReq);
Note:
See TracChangeset
for help on using the changeset viewer.