Changeset 33164 in vbox
- Timestamp:
- Oct 15, 2010 2:49:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r31593 r33164 752 752 if (rc == VINF_SUCCESS) 753 753 { 754 #if HC_ARCH_BITS == 32 755 /* Can't deal with 8 byte operands in our 32-bit emulation code. */ 756 if (cb > 4) 757 return VINF_IOM_HC_MMIO_READ_WRITE; 758 #endif 754 759 /* Emulate CMP and update guest flags. */ 755 760 uint32_t eflags = EMEmulateCmp(uData1, uData2, cb); … … 804 809 if (iomGetRegImmData(pCpu, &pCpu->param1, pRegFrame, &uData1, &cb)) 805 810 { 811 #if HC_ARCH_BITS == 32 812 /* Can't deal with 8 byte operands in our 32-bit emulation code. */ 813 if (cb > 4) 814 return VINF_IOM_HC_MMIO_READ_WRITE; 815 #endif 806 816 /* and reg, [MMIO]. */ 807 817 Assert(pRange->CTX_SUFF(pfnReadCallback) || !pRange->pfnReadCallbackR3); … … 811 821 else if (iomGetRegImmData(pCpu, &pCpu->param2, pRegFrame, &uData2, &cb)) 812 822 { 823 #if HC_ARCH_BITS == 32 824 /* Can't deal with 8 byte operands in our 32-bit emulation code. */ 825 if (cb > 4) 826 return VINF_IOM_HC_MMIO_READ_WRITE; 827 #endif 813 828 /* and [MMIO], reg|imm. */ 814 829 fAndWrite = true; … … 896 911 if (rc == VINF_SUCCESS) 897 912 { 913 #if HC_ARCH_BITS == 32 914 /* Can't deal with 8 byte operands in our 32-bit emulation code. */ 915 if (cb > 4) 916 return VINF_IOM_HC_MMIO_READ_WRITE; 917 #endif 918 898 919 /* Emulate TEST (=AND without write back) and update guest EFLAGS. */ 899 920 uint32_t eflags = EMEmulateAnd((uint32_t *)&uData1, uData2, cb);
Note:
See TracChangeset
for help on using the changeset viewer.