Changeset 41678 in vbox for trunk/src/VBox/VMM/VMMR3/CSAM.cpp
- Timestamp:
- Jun 13, 2012 9:37:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r41676 r41678 800 800 { 801 801 case OP_INT: 802 Assert(pCpu->param1.f lags& DISUSE_IMMEDIATE8);802 Assert(pCpu->param1.fUse & DISUSE_IMMEDIATE8); 803 803 if (pCpu->param1.parval == 3) 804 804 { … … 1097 1097 * Any register is allowed as long as source and destination are identical. 1098 1098 */ 1099 if ( cpu.param1.f lags!= DISUSE_REG_GEN321099 if ( cpu.param1.fUse != DISUSE_REG_GEN32 1100 1100 || ( cpu.param2.flags != DISUSE_REG_GEN32 1101 1101 && ( !(cpu.param2.flags & DISUSE_REG_GEN32) … … 1115 1115 { 1116 1116 if ( (pCurInstrGC & 0x3) != 0 1117 || cpu.param1.f lags!= DISUSE_REG_GEN321117 || cpu.param1.fUse != DISUSE_REG_GEN32 1118 1118 || cpu.param1.base.reg_gen32 != USE_REG_EBP 1119 1119 ) … … 1141 1141 { 1142 1142 if ( (pCurInstrGC & 0x3) != 0 1143 || cpu.param1.f lags!= DISUSE_REG_GEN321143 || cpu.param1.fUse != DISUSE_REG_GEN32 1144 1144 || cpu.param1.base.reg_gen32 != USE_REG_ESP 1145 1145 ) … … 1328 1328 // For our first attempt, we'll handle only simple relative jumps and calls (immediate offset coded in instruction) 1329 1329 if ( ((cpu.pCurInstr->optype & DISOPTYPE_CONTROLFLOW) && (OP_PARM_VTYPE(cpu.pCurInstr->param1) == OP_PARM_J)) 1330 || (cpu.pCurInstr->opcode == OP_CALL && cpu.param1.f lags== DISUSE_DISPLACEMENT32)) /* simple indirect call (call dword ptr [address]) */1330 || (cpu.pCurInstr->opcode == OP_CALL && cpu.param1.fUse == DISUSE_DISPLACEMENT32)) /* simple indirect call (call dword ptr [address]) */ 1331 1331 { 1332 1332 /* We need to parse 'call dword ptr [address]' type of calls to catch cpuid instructions in some recent Linux distributions (e.g. OpenSuse 10.3) */ 1333 1333 if ( cpu.pCurInstr->opcode == OP_CALL 1334 && cpu.param1.f lags== DISUSE_DISPLACEMENT32)1334 && cpu.param1.fUse == DISUSE_DISPLACEMENT32) 1335 1335 { 1336 1336 addr = 0; … … 1342 1342 if (addr == 0) 1343 1343 { 1344 Log(("We don't support far jumps here!! (%08X)\n", cpu.param1.f lags));1344 Log(("We don't support far jumps here!! (%08X)\n", cpu.param1.fUse)); 1345 1345 rc = VINF_SUCCESS; 1346 1346 break; … … 1399 1399 else 1400 1400 if ( cpu.pCurInstr->opcode == OP_JMP 1401 && (cpu.param1.f lags& (DISUSE_DISPLACEMENT32|DISUSE_INDEX|DISUSE_SCALE)) == (DISUSE_DISPLACEMENT32|DISUSE_INDEX|DISUSE_SCALE)1401 && (cpu.param1.fUse & (DISUSE_DISPLACEMENT32|DISUSE_INDEX|DISUSE_SCALE)) == (DISUSE_DISPLACEMENT32|DISUSE_INDEX|DISUSE_SCALE) 1402 1402 ) 1403 1403 {
Note:
See TracChangeset
for help on using the changeset viewer.