Changeset 52553 in vbox
- Timestamp:
- Sep 1, 2014 2:48:33 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 95812
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r52192 r52553 201 201 int _init(void) 202 202 { 203 #if 0 /* No IPRT logging before RTR0Init() is done! */ 203 204 LogFlowFunc(("vboxdrv:_init\n")); 205 #endif 204 206 205 207 /* … … 210 212 pModCtl->mod_loadflags |= MOD_NOAUTOUNLOAD; 211 213 else 212 LogRel(("vboxdrv: failed to disable autounloading!\n"));214 cmn_err(CE_NOTE, "vboxdrv: failed to disable autounloading!\n"); 213 215 214 216 /* … … 300 302 int _info(struct modinfo *pModInfo) 301 303 { 302 LogFlowFunc(("vboxdrv:_info\n")); 304 #if 0 /* No IPRT logging before RTR0Init() is done! And yes this is called before _init()!*/ 305 LogFlowFunc(("vboxdrv:_init\n")); 306 #endif 303 307 int e = mod_info(&g_VBoxDrvSolarisModLinkage, pModInfo); 304 308 return e; -
trunk/src/VBox/Runtime/r0drv/initterm-r0drv.cpp
r48935 r52553 67 67 uint32_t cNewUsers; 68 68 Assert(fReserved == 0); 69 #ifndef RT_OS_SOLARIS /* On Solaris our thread preemption information is only obtained in rtR0InitNative().*/ 69 70 RT_ASSERT_PREEMPTIBLE(); 71 #endif 70 72 71 73 /* -
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.