VirtualBox

Changeset 63478 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Aug 15, 2016 2:04:10 PM (8 years ago)
Author:
vboxsync
Message:

Devices: warnings (clang)

Location:
trunk/src/VBox/Devices/Bus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r62889 r63478  
    541541}
    542542
     543#ifdef IN_RING3
     544
    543545/* return the global irq number corresponding to a given device irq
    544546   pin. We could also use the bus number to have a more precise
     
    553555/* irqs corresponding to PCI irqs A-D, must match pci_irq_list in rombios.c */
    554556static const uint8_t aPciIrqs[4] = { 11, 10, 9, 5 };
     557
     558#endif /* IN_RING3 */
    555559
    556560/* Add one more level up request on APIC input line */
  • trunk/src/VBox/Devices/Bus/MsiCommon.cpp

    r62885 r63478  
    9999}
    100100
     101#ifdef IN_RING3
     102
    101103DECLINLINE(bool) msiBitJustCleared(uint32_t uOldValue,
    102104                                   uint32_t uNewValue,
     
    113115}
    114116
    115 #ifdef IN_RING3
    116117void     MsiPciConfigWrite(PPDMDEVINS pDevIns, PCPDMPCIHLP pPciHlp, PPCIDEVICE pDev,
    117118                           uint32_t u32Address, uint32_t val, unsigned len)
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