VirtualBox

Changeset 84666 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jun 3, 2020 1:43:15 PM (5 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 DevIoApic: Nit.

File:
1 edited

Legend:

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

    r84665 r84666  
    432432     * See Intel spec. 10.11.2 "Message Data Register Format".
    433433     */
    434     memset(pIntr, 0, sizeof(*pIntr));
    435434    pIntr->u8Dest         = pMsi->MsiAddr.n.u8DestId;
    436435    pIntr->u8DestMode     = pMsi->MsiAddr.n.u1DestMode;
     
    451450DECLINLINE(void) ioapicGetMsiFromApicIntr(PCXAPICINTR pIntr, PMSIMSG pMsi)
    452451{
    453     memset(pMsi, 0, sizeof(*pMsi));
    454452    pMsi->MsiAddr.n.u12Addr        = VBOX_MSI_ADDR_BASE >> VBOX_MSI_ADDR_SHIFT;
    455453    pMsi->MsiAddr.n.u8DestId       = pIntr->u8Dest;
     
    862860
    863861    XAPICINTR ApicIntr;
     862    RT_ZERO(ApicIntr);
    864863    ioapicGetApicIntrFromMsi(&MsiMsg, &ApicIntr);
    865864
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