VirtualBox

Changeset 107458 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 7, 2025 10:57:35 AM (5 weeks ago)
Author:
vboxsync
Message:

VBox/Devices/PC/DevIoApic.cpp: Guard code which is only active when RT_STRICT is defined and VBOX_WITH_IOMMU_AMD is not, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevIoApic.cpp

    r106061 r107458  
    882882    STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatSetEoi));
    883883
     884#if defined(RT_STRICT) && !defined(VBOX_WITH_IOMMU_AMD)
    884885    bool fRemoteIrrCleared = false;
     886#endif
     887
    885888    int rc = IOAPIC_LOCK(pDevIns, pThis, pThisCC, VINF_SUCCESS);
    886889    PDM_CRITSECT_RELEASE_ASSERT_RC_DEV(pDevIns, NULL, rc);
     
    904907#endif
    905908            pThis->au64RedirTable[idxRte] &= ~IOAPIC_RTE_REMOTE_IRR;
     909
     910#if defined(RT_STRICT) && !defined(VBOX_WITH_IOMMU_AMD)
    906911            fRemoteIrrCleared = true;
     912#endif
     913
    907914            STAM_PROFILE_ADV_STOP(&pThis->aStatLevelAct[idxRte], a);
    908915            STAM_COUNTER_INC(&pThis->StatEoiReceived);
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