Lines Matching refs:g_aHaltMethods
987 } g_aHaltMethods[] =
1011 if (g_aHaltMethods[iHaldMethod].pfnNotifyGlobalFF) /** @todo make mandatory. */
1012 g_aHaltMethods[iHaldMethod].pfnNotifyGlobalFF(pUVM, fFlags);
1015 g_aHaltMethods[iHaldMethod].pfnNotifyCpuFF(&pUVM->aCpus[iCpu], fFlags);
1034 g_aHaltMethods[pUVM->vm.s.iHaltMethod].pfnNotifyCpuFF(pUVCpu, fFlags);
1105 int rc = g_aHaltMethods[pUVM->vm.s.iHaltMethod].pfnHalt(pUVCpu, fMask, u64Now);
1156 int rc = g_aHaltMethods[pUVM->vm.s.iHaltMethod].pfnWait(pUVCpu);
1188 g_aHaltMethods[pUVM->vm.s.iHaltMethod].pfnNotifyCpuFF(&pUVM->aCpus[0], 0 /*fFlags*/);
1198 * @param pvUser The new g_aHaltMethods index.
1204 Assert(i < RT_ELEMENTS(g_aHaltMethods));
1211 && g_aHaltMethods[pUVM->vm.s.iHaltMethod].pfnTerm)
1213 g_aHaltMethods[pUVM->vm.s.iHaltMethod].pfnTerm(pUVM);
1218 Assert(g_aHaltMethods[0].enmHaltMethod == VMHALTMETHOD_BOOTSTRAP);
1219 Assert(!g_aHaltMethods[0].pfnTerm && !g_aHaltMethods[0].pfnInit);
1226 if (g_aHaltMethods[i].pfnInit)
1228 rc = g_aHaltMethods[i].pfnInit(pUVM);
1241 pUVM->vm.s.enmHaltMethod = g_aHaltMethods[i].enmHaltMethod;
1288 while ( i < RT_ELEMENTS(g_aHaltMethods)
1289 && g_aHaltMethods[i].enmHaltMethod != enmHaltMethod)
1291 AssertReturn(i < RT_ELEMENTS(g_aHaltMethods), VERR_INVALID_PARAMETER);