Changeset 19141 in vbox for trunk/src/VBox/VMM/PATM/PATM.cpp
- Timestamp:
- Apr 23, 2009 1:52:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r18988 r19141 112 112 Log(("PATMR3Init: Patch record size %d\n", sizeof(PATCHINFO))); 113 113 114 AssertReleaseMsg(PATMInterruptFlag == (VM_FF_INTERRUPT_APIC | VM_FF_INTERRUPT_PIC | VM_FF_TIMER | VM_FF_REQUEST), 115 ("Interrupt flags out of sync!! PATMInterruptFlag=%#x expected %#x. broken assembler?\n", PATMInterruptFlag, VM_FF_INTERRUPT_APIC | VM_FF_INTERRUPT_PIC | VM_FF_TIMER | VM_FF_REQUEST)); 114 /* These values can't change as they are hardcoded in patch code (old saved states!) */ 115 AssertCompile(VM_FF_TIMER == VMCPU_FF_TIMER); 116 AssertCompile(VM_FF_REQUEST == VMCPU_FF_REQUEST); 117 AssertCompile(VMCPU_FF_INTERRUPT_APIC == RT_BIT_32(0)); 118 AssertCompile(VMCPU_FF_INTERRUPT_PIC == RT_BIT_32(1)); 119 120 AssertReleaseMsg(PATMInterruptFlag == (VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC | VMCPU_FF_TIMER | VMCPU_FF_REQUEST), 121 ("Interrupt flags out of sync!! PATMInterruptFlag=%#x expected %#x. broken assembler?\n", PATMInterruptFlag, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC | VMCPU_FF_TIMER | VMCPU_FF_REQUEST)); 116 122 117 123 /* Allocate patch memory and GC patch state memory. */ … … 6233 6239 } 6234 6240 #endif 6235 EMSetInhibitInterruptsPC(pV M, pVCpu, pNewEip);6241 EMSetInhibitInterruptsPC(pVCpu, pNewEip); 6236 6242 pVM->patm.s.pGCStateHC->GCPtrInhibitInterrupts = 0; 6237 6243 }
Note:
See TracChangeset
for help on using the changeset viewer.