Changeset 72564 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 15, 2018 12:56:01 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EMR3Dbg.cpp
r72562 r72564 71 71 }; 72 72 73 VMM_INT_DECL(const char *) EMR3GetExitTypeName(uint32_t uExitType) 74 { 75 switch ((EMEXITTYPE)uExitType) 73 74 /** 75 * Translates EMEXITTYPE into a name. 76 * 77 * @returns Pointer to read-only name, NULL if unknown type. 78 * @param uExitType The exit type to name. 79 */ 80 VMM_INT_DECL(const char *) EMR3GetExitTypeName(EMEXITTYPE enmExitType) 81 { 82 switch (enmExitType) 76 83 { 77 84 case EMEXITTYPE_INVALID: return "invalid"; … … 85 92 case EMEXITTYPE_MSR_WRITE: return "MSR write"; 86 93 case EMEXITTYPE_CPUID: return "CPUID"; 94 case EMEXITTYPE_RDTSC: return "RDTSC"; 95 case EMEXITTYPE_MOV_CRX: return "MOV CRx"; 96 case EMEXITTYPE_MOV_DRX: return "MOV DRx"; 97 98 /* Raw-mode only: */ 99 case EMEXITTYPE_INVLPG: return "INVLPG"; 100 case EMEXITTYPE_LLDT: return "LLDT"; 101 case EMEXITTYPE_RDPMC: return "RDPMC"; 102 case EMEXITTYPE_CLTS: return "CLTS"; 103 case EMEXITTYPE_STI: return "STI"; 104 case EMEXITTYPE_INT: return "INT"; 105 case EMEXITTYPE_SYSCALL: return "SYSCALL"; 106 case EMEXITTYPE_SYSENTER: return "SYSENTER"; 107 case EMEXITTYPE_HLT: return "HLT"; 87 108 } 88 109 return NULL; 89 110 } 111 90 112 91 113 /** … … 103 125 { 104 126 case EMEXIT_F_KIND_EM: 105 pszExitName = EMR3GetExitTypeName( uFlagsAndType & EMEXIT_F_TYPE_MASK);127 pszExitName = EMR3GetExitTypeName((EMEXITTYPE)(uFlagsAndType & EMEXIT_F_TYPE_MASK)); 106 128 break; 107 129
Note:
See TracChangeset
for help on using the changeset viewer.