- Timestamp:
- Jul 8, 2008 5:53:27 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r9774 r10381 117 117 } 118 118 119 if (pParam->flags & (USE_IMMEDIATE64 ))119 if (pParam->flags & (USE_IMMEDIATE64|USE_IMMEDIATE64_SX8)) 120 120 { 121 121 *pcbSize = 8; -
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r10379 r10381 663 663 */ 664 664 unsigned cb = DISGetParamSize(pCpu, &pCpu->param2); 665 AssertMsg(cb > 0 && cb <= sizeof(uint 32_t), ("cb=%d\n", cb));665 AssertMsg(cb > 0 && cb <= sizeof(uint64_t), ("cb=%d\n", cb)); 666 666 int offIncrement = pRegFrame->eflags.Bits.u1DF ? -(signed)cb : (signed)cb; 667 667 … … 669 669 * Perform read. 670 670 */ 671 int rc = iomMMIODoRead(pVM, pRange, GCPhysFault, &pRegFrame-> eax, cb);671 int rc = iomMMIODoRead(pVM, pRange, GCPhysFault, &pRegFrame->rax, cb); 672 672 if (rc == VINF_SUCCESS) 673 673 pRegFrame->rsi += offIncrement;
Note:
See TracChangeset
for help on using the changeset viewer.