VirtualBox

Ignore:
Timestamp:
Mar 4, 2025 8:42:26 AM (7 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167804
Message:

VMM/GIC: bugref:10404 Build fixes.

File:
1 edited

Legend:

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

    r108429 r108430  
    11611161{
    11621162    /* When affinity routing is disabled, reads return 0. */
    1163     Assert(pGicDev->fAffRoutingEnabled);
     1163    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    11641164    uint16_t const idxPriority = idxReg * sizeof(uint32_t);
    11651165    AssertReturn(idxPriority < RT_ELEMENTS(pGicCpu->abIntrPriority) - sizeof(uint32_t), VERR_BUFFER_OVERFLOW);
     
    11831183{
    11841184    /* When affinity routing is disabled, writes are ignored. */
    1185     Assert(pGicDev->fAffRoutingEnabled);
     1185    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    11861186    PGICCPU pGicCpu = VMCPU_TO_GICCPU(pVCpu);
    11871187    uint16_t const idxPriority = idxReg * sizeof(uint32_t);
     
    12081208{
    12091209    /* When affinity routing is disabled, reads return 0. */
    1210     Assert(pGicDev->fAffRoutingEnabled);
     1210    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    12111211    Assert(idxReg < RT_ELEMENTS(pGicCpu->bmIntrPending));
    12121212    *puValue = pGicCpu->bmIntrPending[idxReg];
     
    12711271static VBOXSTRICTRC gicReDistReadIntrEnableReg(PCGICDEV pGicDev, PGICCPU pGicCpu, uint16_t idxReg, uint32_t *puValue)
    12721272{
    1273     Assert(pGicDev->fAffRoutingEnabled);
     1273    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    12741274    Assert(idxReg < RT_ELEMENTS(pGicCpu->bmIntrEnabled));
    12751275    *puValue = pGicCpu->bmIntrEnabled[idxReg];
     
    13871387{
    13881388    /* When affinity routing is disabled, reads return 0. */
    1389     Assert(pGicDev->fAffRoutingEnabled);
     1389    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    13901390    if (idxReg > 0)
    13911391    {
     
    14151415{
    14161416    /* When affinity routing is disabled, writes are ignored. */
    1417     Assert(pGicDev->fAffRoutingEnabled);
     1417    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    14181418    PGICCPU pGicCpu = VMCPU_TO_GICCPU(pVCpu);
    14191419    if (idxReg > 0)
     
    14451445{
    14461446    /* When affinity routing is disabled, reads return 0. */
    1447     Assert(pGicDev->fAffRoutingEnabled);
     1447    Assert(pGicDev->fAffRoutingEnabled); RT_NOREF(pGicDev);
    14481448    Assert(idxReg < RT_ELEMENTS(pGicCpu->bmIntrGroup));
    14491449    *puValue = pGicCpu->bmIntrGroup[idxReg];
     
    19831983DECLINLINE(VBOXSTRICTRC) gicDistReadRegister(PPDMDEVINS pDevIns, PVMCPUCC pVCpu, uint16_t offReg, uint32_t *puValue)
    19841984{
    1985     VMCPU_ASSERT_EMT(pVCpu);
     1985    VMCPU_ASSERT_EMT(pVCpu); RT_NOREF(pVCpu);
    19861986    PGICDEV  pGicDev     = PDMDEVINS_2_DATA(pDevIns, PGICDEV);
    19871987    uint16_t const cbReg = sizeof(uint32_t);
     
    22832283DECLINLINE(VBOXSTRICTRC) gicDistWriteRegister(PPDMDEVINS pDevIns, PVMCPUCC pVCpu, uint16_t offReg, uint32_t uValue)
    22842284{
    2285     VMCPU_ASSERT_EMT(pVCpu);
     2285    VMCPU_ASSERT_EMT(pVCpu); RT_NOREF(pVCpu);
    22862286    PGICDEV        pGicDev = PDMDEVINS_2_DATA(pDevIns, PGICDEV);
    22872287    PVMCC          pVM     = PDMDevHlpGetVM(pDevIns);
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