VirtualBox

Changeset 20038 in vbox


Ignore:
Timestamp:
May 26, 2009 1:28:41 PM (16 years ago)
Author:
vboxsync
Message:

Use new functions to get/set TPR (AMD-V).

File:
1 edited

Legend:

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

    r20035 r20038  
    946946
    947947        /* TPR caching in CR8 */
    948         int rc = PDMApicGetTPR(pVCpu, &u8LastVTPR, &fPending);
     948        int rc = PDMApicGetTPREx(pVCpu, &u8LastVTPR, pVM->hwaccm.s.svm.fTPRPatching, &fPending);
    949949        AssertRC(rc);
    950950        pVMCB->ctrl.IntCtrl.n.u8VTPR = u8LastVTPR;
     
    13391339    if (fSyncTPR)
    13401340    {
    1341         rc = PDMApicSetTPR(pVCpu, pVMCB->ctrl.IntCtrl.n.u8VTPR);
     1341        rc = PDMApicSetTPREx(pVCpu, pVMCB->ctrl.IntCtrl.n.u8VTPR, pVM->hwaccm.s.svm.fTPRPatching);
    13421342        AssertRC(rc);
    13431343    }
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