VirtualBox

Changeset 3648 in vbox for trunk/src


Ignore:
Timestamp:
Jul 16, 2007 3:40:44 PM (18 years ago)
Author:
vboxsync
Message:

Added parallel device emulation and host driver. Contributed by: Alexander Eichner

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

Legend:

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

    r2981 r3648  
    121121    if (VBOX_FAILURE(rc))
    122122        return rc;
     123    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceParallelPort);
     124    if (VBOX_FAILURE(rc))
     125        return rc;
    123126
    124127    return VINF_SUCCESS;
     
    225228#endif
    226229
     230#if defined(__LINUX__)
     231    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostParallel);
     232    if (VBOX_FAILURE(rc))
     233        return rc;
     234#endif
     235
    227236    return VINF_SUCCESS;
    228237}
  • trunk/src/VBox/Devices/Builtins.h

    r2981 r3648  
    5252extern const PDMDEVREG g_DeviceFloppyController;
    5353extern const PDMDEVREG g_DeviceSerialPort;
     54extern const PDMDEVREG g_DeviceParallelPort;
    5455
    5556extern const PDMDRVREG g_DrvMouseQueue;
     
    7576extern const PDMDRVREG g_DrvChar;
    7677extern const PDMDRVREG g_DrvNamedPipe;
     78extern const PDMDRVREG g_DrvHostParallel;
    7779
    7880__END_DECLS
  • trunk/src/VBox/Devices/Makefile.kmk

    r2981 r3648  
    177177        PC/DevDMA.cpp \
    178178        Storage/fdc.c \
    179         Serial/DevSerial.cpp
     179        Serial/DevSerial.cpp \
     180        Parallel/DevParallel.cpp
    180181
    181182ifeq (0,1)
     
    226227        Storage/DevATA.cpp \
    227228        Network/DevPCNet.cpp \
    228         Serial/DevSerial.cpp
     229        Serial/DevSerial.cpp \
     230        Parallel/DevParallel.cpp
    229231
    230232ifdef VBOX_WITH_USB
     
    262264        Storage/DevATA.cpp \
    263265        Network/DevPCNet.cpp \
    264         Serial/DevSerial.cpp
     266        Serial/DevSerial.cpp \
     267        Parallel/DevParallel.cpp
    265268
    266269ifdef VBOX_WITH_USB
     
    369372        Network/slirp/udp.c \
    370373        PC/DrvACPI.cpp \
     374        Parallel/DrvHostParallel.cpp \
    371375        Serial/DrvChar.cpp \
    372376        Serial/DrvNamedPipe.cpp \
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