VirtualBox

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


Ignore:
Timestamp:
Sep 9, 2009 2:39:46 PM (15 years ago)
Author:
vboxsync
Message:

#3987: Virtio PCI + Net skeleton.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Builtins.cpp

    r22396 r22866  
    119119        return rc;
    120120#endif
     121#ifdef VBOX_WITH_VIRTIO
     122    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceVirtioNet);
     123    if (RT_FAILURE(rc))
     124        return rc;
     125#endif
    121126#ifdef VBOX_WITH_INIP
    122127    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceINIP);
  • trunk/src/VBox/Devices/Builtins.h

    r22396 r22866  
    5656#ifdef VBOX_WITH_E1000
    5757extern const PDMDEVREG g_DeviceE1000;
     58#endif
     59#ifdef VBOX_WITH_VIRTIO
     60extern const PDMDEVREG g_DeviceVirtioNet;
    5861#endif
    5962#ifdef VBOX_WITH_INIP
  • trunk/src/VBox/Devices/Makefile.kmk

    r22854 r22866  
    147147ifdef VBOX_WITH_E1000
    148148 VBoxDD_DEFS           += VBOX_WITH_E1000
     149endif
     150ifdef VBOX_WITH_VIRTIO
     151 VBoxDD_DEFS           += VBOX_WITH_VIRTIO
    149152endif
    150153ifdef VBOX_WITH_BUSLOGIC
     
    306309        Network/DevE1000Phy.cpp \
    307310        Network/DevEEPROM.cpp
     311endif
     312
     313ifdef VBOX_WITH_VIRTIO
     314 DevicesR3_DEFS        += VBOX_WITH_VIRTIO
     315 DevicesR3_SOURCES     += \
     316        Network/DevVirtioNet.cpp
    308317endif
    309318
     
    499508endif
    500509
     510ifdef VBOX_WITH_VIRTIO
     511 VBoxDDGC_DEFS         += VBOX_WITH_VIRTIO
     512 VBoxDDGC_SOURCES      += \
     513        Network/DevVirtioNet.cpp
     514endif
     515
    501516ifdef VBOX_WITH_HGSMI
    502517 VBoxDDGC_DEFS         += VBOX_WITH_HGSMI
     
    588603        Network/DevE1000.cpp \
    589604        Network/DevE1000Phy.cpp
     605endif
     606
     607ifdef VBOX_WITH_VIRTIO
     608 VBoxDDR0_DEFS         += VBOX_WITH_VIRTIO
     609 VBoxDDR0_SOURCES      += \
     610        Network/DevVirtioNet.cpp
    590611endif
    591612
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