VirtualBox

Changeset 100186 in vbox for trunk


Ignore:
Timestamp:
Jun 16, 2023 6:56:52 AM (18 months ago)
Author:
vboxsync
Message:

VMM/GIC: Need to adjust the written value to the actual bit for the SPI when marking the interrupt as active in the distributor, bugref:10404

File:
1 edited

Legend:

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

    r100165 r100186  
    11061106                ASMAtomicAndU32(&pThis->bmIntActive, ~RT_BIT_32((uint32_t)u64Value));
    11071107            else
    1108                 ASMAtomicAndU32(&pGicDev->bmIntActive, ~RT_BIT_32((uint32_t)u64Value));
     1108                ASMAtomicAndU32(&pGicDev->bmIntActive, ~RT_BIT_32((uint32_t)(u64Value - GIC_INTID_RANGE_SPI_START)));
    11091109
    11101110            /* Restore previous interrupt priority. */
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