VirtualBox

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


Ignore:
Timestamp:
Mar 13, 2009 9:37:44 AM (16 years ago)
Author:
vboxsync
Message:

OSE: export iSCSI initiator, plus minor ifdef cleanup

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

Legend:

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

    r17637 r17796  
    140140ifdef VBOX_WITH_ISCSI
    141141 VBoxDD_DEFS           += VBOX_WITH_ISCSI
     142 ifdef VBOX_WITH_INIP
     143  VBoxDD_DEFS          += VBOX_WITH_INIP
     144 endif
    142145endif
    143146ifdef VBOX_WITH_E1000
     
    146149ifdef VBOX_WITH_BUSLOGIC
    147150 VBoxDD_DEFS           += VBOX_WITH_BUSLOGIC
    148 endif
    149 ifndef VBOX_OSE
    150  VBoxDD_DEFS           += VBOX_WITH_INIP
    151151endif
    152152ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
     
    289289endif
    290290
    291 ifndef VBOX_OSE
     291ifdef VBOX_WITH_INIP
    292292DevicesR3_INCS         += \
    293293        Network/lwip/src/include \
     
    362362DevicesR3_SOURCES         += EFI/DevEFI.cpp
    363363VBoxDD_LIBS               += $(PATH_LIB)/EfiThunk$(VBOX_SUFF_LIB)
    364 EFI/DevEFI.cpp_INCS       += EFI/tools/include 
    365 EFI/DevEFI.cpp_INCS.x86   += EFI/tools/include/Ia32 
    366 EFI/DevEFI.cpp_INCS.amd64 += EFI/tools/include/X64 
     364EFI/DevEFI.cpp_INCS       += EFI/tools/include
     365EFI/DevEFI.cpp_INCS.x86   += EFI/tools/include/Ia32
     366EFI/DevEFI.cpp_INCS.amd64 += EFI/tools/include/X64
    367367endif
    368368
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r16984 r17796  
    3535#include <iprt/tcp.h>
    3636
    37 #ifndef VBOX_OSE
     37#ifdef VBOX_WITH_INIP
    3838/* All lwip header files are not C++ safe. So hack around this. */
    3939__BEGIN_DECLS
     
    4242#include <lwip/sockets.h>
    4343__END_DECLS
    44 #endif /* !VBOX_OSE */
     44#endif /* VBOX_WITH_INIP */
    4545
    4646#include "Builtins.h"
    4747
    48 #ifndef VBOX_OSE
     48#ifdef VBOX_WITH_INIP
    4949/* Small hack to get at lwIP initialized status */
    5050extern bool DevINIPConfigured(void);
    51 #endif /* !VBOX_OSE */
     51#endif /* VBOX_WITH_INIP */
    5252
    5353
     
    305305
    306306
    307 #ifndef VBOX_OSE
     307#ifdef VBOX_WITH_INIP
    308308/*******************************************************************************
    309309*   VD TCP network stack interface implementation - INIP case                  *
     
    460460    return VINF_SUCCESS;
    461461}
    462 #endif /* !VBOX_OSE */
     462#endif /* VBOX_WITH_INIP */
    463463
    464464
     
    925925        else
    926926        {
    927 #ifdef VBOX_OSE
     927#ifndef VBOX_WITH_INIP
    928928            rc = PDMDrvHlpVMSetError(pDrvIns, VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES,
    929                                      RT_SRC_POS, N_("DrvVD: Configuration error: TCP over Internal Networking not supported in VirtualBox OSE"));
    930 #else /* !VBOX_OSE */
     929                                     RT_SRC_POS, N_("DrvVD: Configuration error: TCP over Internal Networking not compiled in"));
     930#else /* VBOX_WITH_INIP */
    931931            pThis->VDITcpNetCallbacks.cbSize = sizeof(VDINTERFACETCPNET);
    932932            pThis->VDITcpNetCallbacks.enmInterface = VDINTERFACETYPE_TCPNET;
     
    937937            pThis->VDITcpNetCallbacks.pfnWrite = drvvdINIPWrite;
    938938            pThis->VDITcpNetCallbacks.pfnFlush = drvvdINIPFlush;
    939 #endif /* !VBOX_OSE */
     939#endif /* VBOX_WITH_INIP */
    940940        }
    941941        if (RT_SUCCESS(rc))
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