VirtualBox

Ignore:
Timestamp:
May 25, 2009 1:59:29 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47714
Message:

Cleaned up PDMGet/SetTPR.

File:
1 edited

Legend:

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

    r20000 r20001  
    21812181        bool    fPending;
    21822182
    2183         int rc = PDMApicGetTPR(pVM, &u8TPR, &fPending);
     2183        int rc = PDMApicGetTPR(pVCpu, &u8TPR, &fPending);
    21842184        AssertRC(rc);
    21852185        /* The TPR can be found at offset 0x80 in the APIC mmio page. */
     
    23842384    if (fSyncTPR)
    23852385    {
    2386         rc = PDMApicSetTPR(pVM, pVCpu->hwaccm.s.vmx.pVAPIC[0x80] >> 4);
     2386        rc = PDMApicSetTPR(pVCpu, pVCpu->hwaccm.s.vmx.pVAPIC[0x80] >> 4);
    23872387        AssertRC(rc);
    23882388    }
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