VirtualBox

Changeset 71829 in vbox for trunk


Ignore:
Timestamp:
Apr 11, 2018 5:17:06 PM (7 years ago)
Author:
vboxsync
Message:

DevLPC-new: Kicked off new LPC implementation. bugref:7000

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

Legend:

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

    r71751 r71829  
    128128        $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \
    129129        VBOX_WITH_DMI_CHASSIS \
    130         VBOX_WITH_DMI_OEMSTRINGS
     130        VBOX_WITH_DMI_OEMSTRINGS \
     131        $(if $(VBOX_WITH_NEW_LPC_DEVICE),VBOX_WITH_NEW_LPC_DEVICE,)
    131132 VBoxDD_DEFS.win         = _WIN32_WINNT=0x0510
    132133 ifeq ($(KBUILD_TARGET_ARCH),x86)
     
    156157        PC/DevFwCommon.cpp \
    157158        PC/DevPcArch.cpp \
     159        $(if $(VBOX_WITH_NEW_LPC_DEVICE),PC/DevLpc-new.cpp,) \
    158160        GIMDev/GIMDev.cpp \
    159161        GIMDev/DrvUDP.cpp \
     
    10471049 VBoxDD2_DEFS            = \
    10481050        IN_VBOXDD2 \
    1049         $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,)
     1051        $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) \
     1052       $(if $(VBOX_WITH_NEW_LPC_DEVICE),VBOX_WITH_NEW_LPC_DEVICE,)
    10501053 VBoxDD2_INCS           := \
    10511054        build \
    10521055        $(PATH_SUB_CURRENT)
    10531056 VBoxDD2_SOURCES         = \
    1054         build/VBoxDD2.cpp  \
    1055         PC/DevLPC.cpp
     1057        build/VBoxDD2.cpp \
     1058        $(if $(VBOX_WITH_NEW_LPC_DEVICE),,PC/DevLPC.cpp)
    10561059 VBoxDD2_LIBS            = \
    10571060        $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r69121 r71829  
    197197    if (RT_FAILURE(rc))
    198198        return rc;
     199#ifdef VBOX_WITH_NEW_LPC_DEVICE
     200    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC);
     201    if (RT_FAILURE(rc))
     202        return rc;
     203#endif
    199204#ifdef VBOX_WITH_VIRTUALKD
    200205    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceVirtualKD);
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r69121 r71829  
    8989#endif
    9090extern const PDMDEVREG g_DeviceGIMDev;
     91#ifdef VBOX_WITH_NEW_LPC_DEVICE
     92extern const PDMDEVREG g_DeviceLPC;
     93#endif
    9194#ifdef VBOX_WITH_VIRTUALKD
    9295extern const PDMDEVREG g_DeviceVirtualKD;
  • trunk/src/VBox/Devices/build/VBoxDD2.cpp

    r69121 r71829  
    6262    AssertReleaseMsg(u32Version == VBOX_VERSION, ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION));
    6363
     64#ifndef VBOX_WITH_NEW_LPC_DEVICE
    6465    int rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC);
    6566    if (RT_FAILURE(rc))
    6667        return rc;
     68#else
     69    RT_NOREF(pCallbacks);
     70#endif
    6771
    6872    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/build/VBoxDD2.h

    r69121 r71829  
    6161#endif /* !IN_VBOXDD2 */
    6262
     63#ifndef VBOX_WITH_NEW_LPC_DEVICE
    6364extern const PDMDEVREG g_DeviceLPC;
     65#endif
    6466
    6567RT_C_DECLS_END
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r71732 r71829  
    8989#undef LOG_GROUP
    9090#include "../PC/DevDMA.cpp"
    91 #undef LOG_GROUP
    92 #include "../PC/DevLPC.cpp"
    9391#undef LOG_GROUP
    9492#include "../EFI/DevSmc.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