VirtualBox

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


Ignore:
Timestamp:
Jan 24, 2011 3:56:51 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69611
Message:

Main, Device: passthrough conditional

Location:
trunk/src/VBox/Devices
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r35676 r35685  
    276276        Bus/MsiCommon.cpp \
    277277        Bus/MsixCommon.cpp \
    278         Bus/DevPciRaw.cpp \
     278        $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/DevPciRaw.cpp,) \
    279279        Graphics/DevVGA.cpp \
    280280        Storage/DevATA.cpp \
     
    541541        Bus/MsiCommon.cpp \
    542542        Bus/MsixCommon.cpp \
    543         Bus/DevPciRaw.cpp \
     543        $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/DevPciRaw.cpp,) \
    544544        Graphics/DevVGA.cpp \
    545545        Input/DevPS2.cpp \
     
    644644        Bus/MsiCommon.cpp \
    645645        Bus/MsixCommon.cpp \
    646         Bus/DevPciRaw.cpp \
     646        $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/DevPciRaw.cpp,) \
    647647        Graphics/DevVGA.cpp \
    648648        Input/DevPS2.cpp \
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r35353 r35685  
    179179        return rc;
    180180#endif
     181
     182#ifdef VBOX_WITH_PCI_PASSTHROUGH
    181183    rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePciRaw);
    182184    if (RT_FAILURE(rc))
    183185        return rc;
     186#endif
    184187
    185188    return VINF_SUCCESS;
     
    349352    return rc;
    350353}
    351 
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r35353 r35685  
    8484extern const PDMDEVREG g_DeviceEFI;
    8585#endif
     86#ifdef VBOX_WITH_PCI_PASSTHROUGH
    8687extern const PDMDEVREG g_DevicePciRaw;
     88#endif
    8789
    8890extern const PDMDRVREG g_DrvMouseQueue;
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