VirtualBox

Changeset 19997 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 25, 2009 12:57:14 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47706
Message:

Wrong APIC page

File:
1 edited

Legend:

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

    r19996 r19997  
    21842184        AssertRC(rc);
    21852185        /* The TPR can be found at offset 0x80 in the APIC mmio page. */
    2186         pVM->hwaccm.s.vmx.pAPIC[0x80] = u8TPR << 4; /* bits 7-4 contain the task priority */
     2186        pVCpu->hwaccm.s.vmx.pVAPIC[0x80] = u8TPR << 4; /* bits 7-4 contain the task priority */
    21872187
    21882188        /* Two options here:
     
    23842384    if (fSyncTPR)
    23852385    {
    2386         rc = PDMApicSetTPR(pVM, pVM->hwaccm.s.vmx.pAPIC[0x80] >> 4);
     2386        rc = PDMApicSetTPR(pVM, 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