VirtualBox

Changeset 35400 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 4, 2011 11:58:52 AM (14 years ago)
Author:
vboxsync
Message:

introduced VBOX_WITH_PXE_ROM

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

Legend:

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

    r35380 r35400  
    2424if defined(VBOX_WITH_INTEL_PXE) || defined(VBOX_ONLY_EXTPACKS)
    2525 include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
    26 else ifndef VBOX_WITHOUT_ETHERBOOT
     26else if defined(VBOX_WITH_PXE_ROM) && !defined(VBOX_WITHOUT_ETHERBOOT)
    2727 include $(PATH_SUB_CURRENT)/PC/Etherboot-src/Makefile.kmk
    2828endif
     
    248248 VBoxDD2_LDFLAGS.l4      = -Wl,--no-undefined
    249249
     250 ifdef VBOX_WITH_PXE_ROM
     251  VBoxDD2_DEFS          += VBOX_WITH_PXE_ROM
     252 endif
    250253
    251254 #
     
    352355  DevicesR3_DEFS        += VBOX_WITH_DMI_OEMSTRINGS
    353356 endif
     357 ifdef VBOX_WITH_PXE_ROM
     358  DevicesR3_DEFS        += VBOX_WITH_PXE_ROM
     359 endif
    354360
    355361 ifdef VBOX_WITH_INIP
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r35353 r35400  
    13521352    if (pThis->pu8LanBoot == NULL)
    13531353    {
     1354#ifdef VBOX_WITH_PXE_ROM
    13541355        pu8LanBootBinary = g_abNetBiosBinary;
    13551356        cbLanBootBinary  = g_cbNetBiosBinary;
     1357#endif
    13561358    }
    13571359    else
  • trunk/src/VBox/Devices/build/VBoxDD2.cpp

    r35353 r35400  
    4040    (void *)&g_abPcBiosBinary,
    4141    (void *)&g_abVgaBiosBinary,
     42#ifdef VBOX_WITH_PXE_ROM
    4243    (void *)&g_abNetBiosBinary,
     44#endif
    4345};
    4446
  • trunk/src/VBox/Devices/build/VBoxDD2.h

    r35353 r35400  
    3030extern DECLEXPORT(const unsigned char)  g_abVgaBiosBinary[];
    3131extern DECLEXPORT(const unsigned)       g_cbVgaBiosBinary;
     32# ifdef VBOX_WITH_PXE_ROM
    3233extern DECLEXPORT(const unsigned char)  g_abNetBiosBinary[];
    3334extern DECLEXPORT(const unsigned)       g_cbNetBiosBinary;
    34 extern DECLEXPORT(const unsigned char)  g_abVmiBiosBinary[];
    35 extern DECLEXPORT(const unsigned)       g_cbVmiBiosBinary;
     35# endif
    3636#else  /* !IN_VBOXDD2 */
    3737extern DECLIMPORT(const unsigned char)  g_abPcBiosBinary[];
     
    3939extern DECLIMPORT(const unsigned char)  g_abVgaBiosBinary[];
    4040extern DECLIMPORT(const unsigned)       g_cbVgaBiosBinary;
     41# ifdef VBOX_WITH_PXE_ROM
    4142extern DECLIMPORT(const unsigned char)  g_abNetBiosBinary[];
    4243extern DECLIMPORT(const unsigned)       g_cbNetBiosBinary;
    43 extern DECLIMPORT(const unsigned char)  g_abVmiBiosBinary[];
    44 extern DECLIMPORT(const unsigned)       g_cbVmiBiosBinary;
     44# endif
    4545#endif /* !IN_VBOXDD2 */
    4646extern const PDMDEVREG g_DeviceAPIC;
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