Changeset 52553 in vbox for trunk/src/VBox/Runtime/r0drv/solaris
- Timestamp:
- Sep 1, 2014 2:48:33 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/dbgkrnlinfo-r0drv-solaris.c
r41946 r52553 139 139 AssertReturn(fFlags == 0, VERR_INVALID_PARAMETER); 140 140 AssertPtrReturn(phKrnlInfo, VERR_INVALID_POINTER); 141 RT_ASSERT_PREEMPTIBLE(); 141 /* This can be called as part of IPRT init, in which case we have no thread preempt information yet. */ 142 if (g_frtSolInitDone) 143 RT_ASSERT_PREEMPTIBLE(); 142 144 143 145 *phKrnlInfo = NIL_RTDBGKRNLINFO; … … 182 184 AssertPtrReturn(pThis, UINT32_MAX); 183 185 AssertMsgReturn(pThis->u32Magic == RTDBGKRNLINFO_MAGIC, ("%p: u32Magic=%RX32\n", pThis, pThis->u32Magic), UINT32_MAX); 184 RT_ASSERT_PREEMPTIBLE(); 186 if (g_frtSolInitDone) 187 RT_ASSERT_PREEMPTIBLE(); 185 188 186 189 uint32_t cRefs = ASMAtomicDecU32(&pThis->cRefs); … … 204 207 AssertPtrReturn(pszStructure, VERR_INVALID_PARAMETER); 205 208 AssertPtrReturn(poffMember, VERR_INVALID_PARAMETER); 206 RT_ASSERT_PREEMPTIBLE(); 209 if (g_frtSolInitDone) 210 RT_ASSERT_PREEMPTIBLE(); 207 211 208 212 int rc = VERR_NOT_FOUND; … … 232 236 AssertPtrNullReturn(ppvSymbol, VERR_INVALID_PARAMETER); 233 237 AssertReturn(!pszModule, VERR_MODULE_NOT_FOUND); 234 RT_ASSERT_PREEMPTIBLE(); 238 if (g_frtSolInitDone) 239 RT_ASSERT_PREEMPTIBLE(); 235 240 236 241 uintptr_t uValue = kobj_getsymvalue((char *)pszSymbol, 1 /* only kernel */);
Note:
See TracChangeset
for help on using the changeset viewer.