Changeset 13703 in vbox
- Timestamp:
- Oct 31, 2008 12:20:53 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
include/VBox/err.h (modified) (2 diffs)
-
include/VBox/err.mac (modified) (2 diffs)
-
src/VBox/VMM/EM.cpp (modified) (6 diffs)
-
src/VBox/VMM/VMM.cpp (modified) (2 diffs)
-
src/VBox/VMM/VMMGuruMeditation.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r13702 r13703 101 101 * resolved there it will enter guru meditation. */ 102 102 #define VINF_EM_DBG_HYPER_ASSERTION 1103 103 /** Hit a ring-0 assertion on EMT.104 * EM will enter guru mediation state when. */105 #define VINF_EM_DBG_RING0_ASSERTION 1104106 103 /** Indicating that the VM should be suspended for debugging because 107 104 * the developer wants to inspect the VM state. */ … … 765 762 /** Reason for leaving GC: Calling host function. */ 766 763 #define VINF_VMM_CALL_HOST 2700 764 /** Reason for leaving R0: Hit a ring-0 assertion on EMT. */ 765 #define VERR_VMM_RING0_ASSERTION (-2701) 767 766 /** @} */ 768 767 -
trunk/include/VBox/err.mac
r13702 r13703 19 19 %define VINF_EM_DBG_HYPER_BREAKPOINT 1102 20 20 %define VINF_EM_DBG_HYPER_ASSERTION 1103 21 %define VINF_EM_DBG_RING0_ASSERTION 110422 21 %define VINF_EM_DBG_STOP 1105 23 22 %define VINF_EM_DBG_STEPPED 1106 … … 243 242 %define VINF_IOM_HC_MMIO_READ_WRITE 2625 244 243 %define VINF_VMM_CALL_HOST 2700 244 %define VERR_VMM_RING0_ASSERTION (-2701) 245 245 %define VERR_PDM_NO_SUCH_LUN (-2800) 246 246 %define VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES (-2801) -
trunk/src/VBox/VMM/EM.cpp
r13702 r13703 645 645 * Guru meditation. 646 646 */ 647 case V INF_EM_DBG_RING0_ASSERTION: /** @todo Make a guru meditation event! */648 rc = DBGFR3EventSrc(pVM, DBGFEVENT_DEV_STOP, "V INF_EM_DBG_RING0_ASSERTION", 0, NULL, NULL);647 case VERR_VMM_RING0_ASSERTION: /** @todo Make a guru meditation event! */ 648 rc = DBGFR3EventSrc(pVM, DBGFEVENT_DEV_STOP, "VERR_VMM_RING0_ASSERTION", 0, NULL, NULL); 649 649 break; 650 650 case VERR_REM_TOO_MANY_TRAPS: /** @todo Make a guru meditation event! */ … … 674 674 case VINF_EM_DBG_HYPER_BREAKPOINT: 675 675 case VINF_EM_DBG_HYPER_ASSERTION: 676 case VINF_EM_DBG_RING0_ASSERTION:677 676 break; 678 677 … … 708 707 case VINF_EM_DBG_HYPER_BREAKPOINT: 709 708 case VINF_EM_DBG_HYPER_ASSERTION: 710 case VINF_EM_DBG_RING0_ASSERTION: 709 case VERR_TRPM_PANIC: 710 case VERR_TRPM_DONT_PANIC: 711 case VERR_VMM_RING0_ASSERTION: 711 712 return rcLast; 712 713 } … … 723 724 case VERR_TRPM_PANIC: 724 725 case VERR_TRPM_DONT_PANIC: 726 case VERR_VMM_RING0_ASSERTION: 725 727 case VERR_INTERNAL_ERROR: 726 728 return rc; … … 2372 2374 case VERR_TRPM_DONT_PANIC: 2373 2375 case VERR_TRPM_PANIC: 2374 case V INF_EM_DBG_RING0_ASSERTION:2376 case VERR_VMM_RING0_ASSERTION: 2375 2377 break; 2376 2378 … … 3467 3469 * Guru mediations. 3468 3470 */ 3469 case V INF_EM_DBG_RING0_ASSERTION:3471 case VERR_VMM_RING0_ASSERTION: 3470 3472 Log(("EMR3ExecuteVM: %Rrc: %d -> %d (EMSTATE_GURU_MEDITATION)\n", rc, pVM->em.s.enmState, EMSTATE_GURU_MEDITATION)); 3471 3473 pVM->em.s.enmState = EMSTATE_GURU_MEDITATION; -
trunk/src/VBox/VMM/VMM.cpp
r13702 r13703 1966 1966 } 1967 1967 rc = vmmR3ServiceCallHostRequest(pVM); 1968 if (VBOX_FAILURE(rc) || rc == VINF_EM_DBG_RING0_ASSERTION)1968 if (VBOX_FAILURE(rc)) 1969 1969 return rc; 1970 1970 /* Resume R0 */ … … 2237 2237 LogRel((pVM->vmm.s.szRing0AssertMsg1)); 2238 2238 LogRel((pVM->vmm.s.szRing0AssertMsg2)); 2239 return V INF_EM_DBG_RING0_ASSERTION;2239 return VERR_VMM_RING0_ASSERTION; 2240 2240 2241 2241 default: -
trunk/src/VBox/VMM/VMMGuruMeditation.cpp
r13702 r13703 227 227 * Hypervisor errors. 228 228 */ 229 case V INF_EM_DBG_RING0_ASSERTION:229 case VERR_VMM_RING0_ASSERTION: 230 230 case VINF_EM_DBG_HYPER_ASSERTION: 231 231 { 232 bool fIsRing0 = rcErr == V INF_EM_DBG_RING0_ASSERTION;232 bool fIsRing0 = rcErr == VERR_VMM_RING0_ASSERTION; 233 233 const char *pszMsg1 = fIsRing0 ? pVM->vmm.s.szRing0AssertMsg1 : VMMR3GetGCAssertMsg1(pVM); 234 234 while (pszMsg1 && *pszMsg1 == '\n')
Note:
See TracChangeset
for help on using the changeset viewer.

