VirtualBox

Changeset 25236 in vbox for trunk/src/VBox/VMM/TRPM.cpp


Ignore:
Timestamp:
Dec 8, 2009 12:15:49 PM (15 years ago)
Author:
vboxsync
Message:

TRPM.cpp: -Wshadow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/TRPM.cpp

    r22890 r25236  
    683683        if (ASMBitTest(&pVM->trpm.s.au32IdtPatched[0], iTrap))
    684684        {
    685             PVBOXIDTE   pIdte = &pVM->trpm.s.aIdt[iTrap];
    686             RTGCPTR     pHandler = VBOXIDTE_OFFSET(*pIdte);
     685            PVBOXIDTE   pIdteCur = &pVM->trpm.s.aIdt[iTrap];
     686            RTGCPTR     pHandler = VBOXIDTE_OFFSET(*pIdteCur);
    687687
    688688            Log(("TRPMR3Relocate: *iGate=%2X Handler %RGv -> %RGv\n", iTrap, pHandler, pHandler + offDelta));
    689689            pHandler += offDelta;
    690690
    691             pIdte->Gen.u16OffsetHigh = pHandler >> 16;
    692             pIdte->Gen.u16OffsetLow  = pHandler & 0xFFFF;
    693 
     691            pIdteCur->Gen.u16OffsetHigh = pHandler >> 16;
     692            pIdteCur->Gen.u16OffsetLow  = pHandler & 0xFFFF;
    694693        }
    695694    }
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