Changeset 38954 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 6, 2011 11:28:41 AM (13 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r38082 r38954 453 453 VMMR0_DEFS += IN_PCIRAW_R0 454 454 endif 455 ifdef VBOX_WITH_TRIPLE_FAULT_HACK 456 VMMR0_DEFS += VBOX_WITH_TRIPLE_FAULT_HACK 457 endif 455 458 VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK 456 459 VMMR0_DEFS.darwin.x86 = \ … … 521 524 VMMR0_SOURCES += $(VMMR0Imp_0_OUTDIR)/VMMR0.def 522 525 endif 526 ifdef VBOX_WITH_TRIPLE_FAULT_HACK 527 VMMR0_SOURCES += \ 528 VMMR0/VMMR0TripleFaultHack.cpp \ 529 VMMR0/VMMR0TripleFaultHackA.asm 530 endif 523 531 VMMR0_SOURCES.amd64 = \ 524 532 VMMR0/VMMR0JmpA-amd64.asm -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r37584 r38954 144 144 if (RT_SUCCESS(rc)) 145 145 { 146 LogFlow(("ModuleInit: returns success.\n")); 147 return VINF_SUCCESS; 146 #ifdef VBOX_WITH_TRIPLE_FAULT_HACK 147 rc = vmmR0TripleFaultHackInit(); 148 if (RT_SUCCESS(rc)) 149 #endif 150 { 151 LogFlow(("ModuleInit: returns success.\n")); 152 return VINF_SUCCESS; 153 } 154 155 /* 156 * Bail out. 157 */ 158 #ifdef VBOX_WITH_TRIPLE_FAULT_HACK 159 vmmR0TripleFaultHackTerm(); 160 #endif 148 161 } 149 150 /*151 * Bail out.152 */153 162 #ifdef VBOX_WITH_PCI_PASSTHROUGH 154 163 PciRawR0Term(); … … 204 213 PGMDeregisterStringFormatTypes(); 205 214 HWACCMR0Term(); 215 #ifdef VBOX_WITH_TRIPLE_FAULT_HACK 216 vmmR0TripleFaultHackTerm(); 217 #endif 206 218 207 219 /* -
trunk/src/VBox/VMM/include/VMMInternal.h
r38839 r38954 603 603 VMMR0DECL(size_t) vmmR0LoggerPrefix(PRTLOGGER pLogger, char *pchBuf, size_t cchBuf, void *pvUser); 604 604 605 # ifdef VBOX_WITH_TRIPLE_FAULT_HACK 606 int vmmR0TripleFaultHackInit(void); 607 void vmmR0TripleFaultHackTerm(void); 608 # endif 609 605 610 #endif /* IN_RING0 */ 606 611 #ifdef IN_RC
Note:
See TracChangeset
for help on using the changeset viewer.