Changeset 12479 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 16, 2008 9:14:29 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 36579
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMM.cpp
r11945 r12479 2275 2275 pVM->vmm.s.CallHostR0JmpBuf.rip = 0; 2276 2276 #endif 2277 LogRel((pVM->vmm.s.szRing0AssertMsg1)); 2278 LogRel((pVM->vmm.s.szRing0AssertMsg2)); 2277 2279 return VINF_EM_DBG_HYPER_ASSERTION; 2278 2280 -
trunk/src/VBox/VMM/VMMInternal.h
r11474 r12479 250 250 /** The Ring-0 jmp buffer. */ 251 251 VMMR0JMPBUF CallHostR0JmpBuf; 252 /** Buffer for storing ring 0 assertion output, so we can reroute it to the release log. */ 253 char szRing0AssertMsg1[256]; 254 char szRing0AssertMsg2[256]; 252 255 /** @} */ 253 256 -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r10844 r12479 45 45 #include <iprt/stdarg.h> 46 46 #include <iprt/mp.h> 47 #include <iprt/string.h> 47 48 48 49 #if defined(_MSC_VER) && defined(RT_ARCH_AMD64) /** @todo check this with with VC7! */ … … 1155 1156 "Location : %s(%d) %s\n", 1156 1157 pszExpr, pszFile, uLine, pszFunction)); 1158 1159 PVM pVM = GVMMR0GetVMByEMT(NIL_RTNATIVETHREAD); 1160 if (pVM) 1161 RTStrPrintf(pVM->vmm.s.szRing0AssertMsg1, sizeof(pVM->vmm.s.szRing0AssertMsg1), 1162 "\n!!R0-Assertion Failed!!\n" 1163 "Expression: %s\n" 1164 "Location : %s(%d) %s\n", 1165 pszExpr, pszFile, uLine, pszFunction); 1157 1166 } 1158 1167 … … 1185 1194 va_start(args, pszFormat); 1186 1195 RTLogFormatV(rtLogOutput, pLog, pszFormat, args); 1196 PVM pVM = GVMMR0GetVMByEMT(NIL_RTNATIVETHREAD); 1197 if (pVM) 1198 RTStrPrintfV(pVM->vmm.s.szRing0AssertMsg2, sizeof(pVM->vmm.s.szRing0AssertMsg2), pszFormat, args); 1187 1199 va_end(args); 1188 1200 }
Note:
See TracChangeset
for help on using the changeset viewer.