Changeset 78482 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- May 13, 2019 9:58:10 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r78481 r78482 12537 12537 AssertReturn(uIOSize <= 3 && uIOSize != 2, VERR_VMX_IPE_1); 12538 12538 12539 /* Size of the I/O accesses in bytes. */ 12540 static uint32_t const s_aIOSizes[4] = { 1, 2, 0, 4 }; 12539 static uint32_t const s_aIOSizes[4] = { 1, 2, 0, 4 }; /* Size of the I/O accesses in bytes. */ 12541 12540 uint8_t const cbAccess = s_aIOSizes[uIOSize]; 12542 12543 12541 if (CPUMIsGuestVmxIoInterceptSet(pVCpu, uIOPort, cbAccess)) 12544 12542 { … … 14229 14227 if (!pExitRec) 14230 14228 { 14231 /* I/O operation lookup arrays. */ 14232 static uint32_t const s_aIOSizes[4] = { 1, 2, 0, 4 }; /* Size of the I/O accesses. */ 14229 static uint32_t const s_aIOSizes[4] = { 1, 2, 0, 4 }; /* Size of the I/O accesses in bytes. */ 14233 14230 static uint32_t const s_aIOOpAnd[4] = { 0xff, 0xffff, 0, 0xffffffff }; /* AND masks for saving result in AL/AX/EAX. */ 14231 14234 14232 uint32_t const cbValue = s_aIOSizes[uIOSize]; 14235 14233 uint32_t const cbInstr = pVmxTransient->cbInstr;
Note:
See TracChangeset
for help on using the changeset viewer.