Changeset 43864 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Nov 13, 2012 2:16:42 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/VMMSwitcher.cpp
r42025 r43864 271 271 272 272 273 #ifdef VBOX_WITH_RAW_MODE 274 273 275 /** 274 276 * Generic switcher code relocator. … … 860 862 } 861 863 862 863 864 /** 864 865 * Relocator for the 32-Bit to 32-Bit world switcher. … … 986 987 return VERR_NOT_IMPLEMENTED; 987 988 } 989 990 #endif /* VBOX_WITH_RAW_MODE */ 988 991 989 992 -
trunk/src/VBox/VMM/VMMR3/VMMTests.cpp
r43394 r43864 50 50 } 51 51 52 53 #ifdef VBOX_WITH_RAW_MODE 52 54 53 55 /** … … 177 179 } 178 180 181 #endif /* VBOX_WITH_RAW_MODE */ 182 179 183 180 184 /* execute the switch. */ 181 185 VMMR3DECL(int) VMMDoTest(PVM pVM) 182 186 { 183 #if 1 187 int rc = VINF_SUCCESS; 188 189 #ifdef VBOX_WITH_RAW_MODE 184 190 PVMCPU pVCpu = &pVM->aCpus[0]; 185 191 186 # ifdef NO_SUPCALLR0VMM192 # ifdef NO_SUPCALLR0VMM 187 193 RTPrintf("NO_SUPCALLR0VMM\n"); 188 return VINF_SUCCESS;189 # endif194 return rc; 195 # endif 190 196 191 197 /* … … 193 199 */ 194 200 RTRCPTR RCPtrEP; 195 intrc = PDMR3LdrGetSymbolRC(pVM, VMMGC_MAIN_MODULE_NAME, "VMMGCEntry", &RCPtrEP);201 rc = PDMR3LdrGetSymbolRC(pVM, VMMGC_MAIN_MODULE_NAME, "VMMGCEntry", &RCPtrEP); 196 202 if (RT_SUCCESS(rc)) 197 203 { … … 204 210 vmmR3DoTrapTest(pVM, 0x3, 1, VINF_EM_DBG_HYPER_ASSERTION, 0xf0f0f0f0, "vmmGCTestTrap3_FaultEIP", "int3 WP"); 205 211 206 # if defined(DEBUG_bird) /* guess most people would like to skip these since they write to com1. */212 # if defined(DEBUG_bird) /* guess most people would like to skip these since they write to com1. */ 207 213 vmmR3DoTrapTest(pVM, 0x8, 0, VERR_TRPM_PANIC, 0x00000000, "vmmGCTestTrap8_FaultEIP", "#DF [#PG]"); 208 214 SELMR3Relocate(pVM); /* this resets the busy flag of the Trap 08 TSS */ 209 215 bool f; 210 216 rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "DoubleFault", &f); 211 # if !defined(DEBUG_bird)217 # if !defined(DEBUG_bird) 212 218 if (RT_SUCCESS(rc) && f) 213 # endif219 # endif 214 220 { 215 221 /* see triple fault warnings in SELM and VMMGC.cpp. */ … … 217 223 SELMR3Relocate(pVM); /* this resets the busy flag of the Trap 08 TSS */ 218 224 } 219 # endif225 # endif 220 226 221 227 vmmR3DoTrapTest(pVM, 0xd, 0, VERR_TRPM_DONT_PANIC, 0xf0f0f0f0, "vmmGCTestTrap0d_FaultEIP", "ltr #GP");
Note:
See TracChangeset
for help on using the changeset viewer.