Changeset 12532 in vbox for trunk/src/VBox/VMM/PATM
- Timestamp:
- Sep 17, 2008 9:46:38 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36691
- Location:
- trunk/src/VBox/VMM/PATM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r12524 r12532 97 97 #endif 98 98 99 /* Don't want to break saved states, so put it here as a global variable. */ 100 static int cIDTHandlersDisabled = 0; 101 99 102 /** 100 103 * Initializes the PATM. … … 4963 4966 { 4964 4967 TRPMR3SetGuestTrapHandler(pVM, iGate, TRPM_INVALID_HANDLER); 4965 if (++ pVM->patm.s.cGateDisabled < 256)4968 if (++cIDTHandlersDisabled < 256) 4966 4969 LogRel(("PATM: Disabling IDT %x patch handler %VRv\n", iGate, pInstrGC)); 4967 4970 } -
trunk/src/VBox/VMM/PATM/PATMInternal.h
r12527 r12532 434 434 // GC address of fault in monitored page (set by PATMGCMonitorPage, used by PATMR3HandleMonitoredPage) 435 435 RTRCPTR pvFaultMonitor; 436 437 /* Counter for disabled IDT gates (in order not to overflow the release log).*/438 uint32_t cGateDisabled;439 440 #if HC_ARCH_BITS == 64441 uint32_t Alignment0;442 #endif443 436 444 437 /* Temporary information for pending MMIO patch. Set in GC or R0 context. */ … … 517 510 STAMCOUNTER StatFunctionLookupInsert; 518 511 uint32_t StatU32FunctionMaxSlotsUsed; 519 uint32_t Alignment 1; /**< Align the structure size on a 8-byte boundrary. */512 uint32_t Alignment0; /**< Align the structure size on a 8-byte boundrary. */ 520 513 } PATM, *PPATM; 521 514
Note:
See TracChangeset
for help on using the changeset viewer.