VirtualBox

Changeset 24324 in vbox


Ignore:
Timestamp:
Nov 4, 2009 12:57:47 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54337
Message:

Minor cleanup

File:
1 edited

Legend:

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

    r24243 r24324  
    6060*   Global Variables                                                           *
    6161*******************************************************************************/
    62 /* IO operation lookup arrays. */
    63 static uint32_t const g_aIOSize[4] = {1, 2, 0, 4};
    6462
    6563/**
     
    22422240                if (pCtx->dr[7] & X86_DR7_ENABLED_MASK)
    22432241                {
     2242                    /* IO operation lookup arrays. */
     2243                    static uint32_t const aIOSize[4] = {1, 2, 0, 4};
     2244
    22442245                    STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatDRxIOCheck);
    22452246                    for (unsigned i=0;i<4;i++)
    22462247                    {
    2247                         unsigned uBPLen = g_aIOSize[X86_DR7_GET_LEN(pCtx->dr[7], i)];
     2248                        unsigned uBPLen = aIOSize[X86_DR7_GET_LEN(pCtx->dr[7], i)];
    22482249
    22492250                        if (    (IoExitInfo.n.u16Port >= pCtx->dr[i] && IoExitInfo.n.u16Port < pCtx->dr[i] + uBPLen)
Note: See TracChangeset for help on using the changeset viewer.

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