VirtualBox

Ignore:
Timestamp:
May 13, 2019 9:58:10 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Comment, nit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r78481 r78482  
    1253712537            AssertReturn(uIOSize <= 3 && uIOSize != 2, VERR_VMX_IPE_1);
    1253812538
    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. */
    1254112540            uint8_t const cbAccess = s_aIOSizes[uIOSize];
    12542 
    1254312541            if (CPUMIsGuestVmxIoInterceptSet(pVCpu, uIOPort, cbAccess))
    1254412542            {
     
    1422914227    if (!pExitRec)
    1423014228    {
    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. */
    1423314230        static uint32_t const s_aIOOpAnd[4] = { 0xff, 0xffff, 0, 0xffffffff };   /* AND masks for saving result in AL/AX/EAX. */
     14231
    1423414232        uint32_t const cbValue  = s_aIOSizes[uIOSize];
    1423514233        uint32_t const cbInstr  = pVmxTransient->cbInstr;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette