Changeset 21443 in vbox
- Timestamp:
- Jul 9, 2009 2:04:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/CSAM.cpp
r20011 r21443 721 721 uint32_t cbInstr = 0; 722 722 uint32_t opsize = pCpu->opsize; 723 724 PATMR3AddHint(pVM, pCurInstrGC, (pPage->fCode32) ? PATMFL_CODE32 : 0); 723 bool fCode32 = pPage->fCode32; 724 725 Assert(fCode32); 726 727 PATMR3AddHint(pVM, pCurInstrGC, (fCode32) ? PATMFL_CODE32 : 0); 725 728 726 729 /* Make sure the instructions that follow the cli have not been encountered before. */ … … 750 753 Assert(VALID_PTR(pCurInstrHC)); 751 754 752 cpu.mode = ( pPage->fCode32) ? CPUMODE_32BIT : CPUMODE_16BIT;755 cpu.mode = (fCode32) ? CPUMODE_32BIT : CPUMODE_16BIT; 753 756 rc = CSAMR3DISInstr(pVM, &cpu, pCurInstrGC, pCurInstrHC, &opsize, NULL); 754 757 Assert(RT_SUCCESS(rc));
Note:
See TracChangeset
for help on using the changeset viewer.