VirtualBox

Changeset 57558 in vbox


Ignore:
Timestamp:
Aug 27, 2015 12:40:38 PM (9 years ago)
Author:
vboxsync
Message:

VMM: unused vars.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp

    r57358 r57558  
    205205static DECLCALLBACK(VBOXSTRICTRC) cpumMsrRd_Ia32ApicBase(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue)
    206206{
    207     PVM pVM = pVCpu->CTX_SUFF(pVM);
    208207#if 0 /** @todo Sort this one out properly.  Evidence from ticks 12240 and 12875 suggest the apic base is still readable even
    209208       * after the apic has been diabled.  That makes common sense too.  What we need to do here, though, is check whether
    210209       * there is an APIC device associated with the VM, and GP if there isn't.  But that's for later. */
     210    PVM pVM = pVCpu->CTX_SUFF(pVM);
    211211    if (   !pVM->cpum.s.GuestFeatures.fApic
    212212        && !pVM->cpum.s.GuestFeatures.fX2Apic)
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r57446 r57558  
    147147{
    148148    PVM     pVM   = (PVM)pvUser1;
    149     PCPUM   pCPUM = &pVM->cpum.s;
    150149
    151150    NOREF(idCpu); NOREF(pvUser2);
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