VirtualBox

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


Ignore:
Timestamp:
Sep 26, 2022 8:48:48 AM (2 years ago)
Author:
vboxsync
Message:

Devices/USB,Main,FE/Qt: Export EHCI and XHCI controller implementations from PUEL extension pack to the base open-source package, bugref:10296

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

Legend:

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

    r96572 r96854  
    471471  endif
    472472
    473   if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     473  if defined(VBOX_WITH_EHCI_IMPL)
    474474   VBoxDD_DEFS          += VBOX_WITH_EHCI_IMPL
    475475   VBoxDD_SOURCES       += \
     
    477477  endif
    478478
    479   if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     479  if defined(VBOX_WITH_XHCI_IMPL)
    480480   VBoxDD_DEFS          += VBOX_WITH_XHCI_IMPL
    481481   VBoxDD_SOURCES       += \
     
    663663  EFI/DevEFI.cpp_INCS.amd64 += EFI/Firmware/BaseTools/Source/C/Include/X64
    664664  EFI/DevEFI.cpp_INCS.arm32 += EFI/Firmware/BaseTools/Source/C/Include/Arm
    665   EFI/DevEFI.cpp_INCS.arm64 += EFI/Firmware/BaseTools/Source/C/Include/Aarch64
     665  EFI/DevEFI.cpp_INCS.arm64 += EFI/Firmware/BaseTools/Source/C/Include/AArch64
    666666 endif
    667667
     
    11181118  ifdef VBOX_WITH_USB
    11191119   VBoxDDRC_DEFS        += VBOX_WITH_USB
    1120    if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     1120   if defined(VBOX_WITH_EHCI_IMPL)
    11211121    VBoxDDRC_DEFS       += VBOX_WITH_EHCI_IMPL
    11221122    VBoxDDRC_SOURCES    += \
    11231123        USB/DevEHCI.cpp
    11241124   endif
    1125    if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     1125   if defined(VBOX_WITH_XHCI_IMPL)
    11261126    VBoxDDRC_DEFS       += VBOX_WITH_XHCI_IMPL
    11271127    VBoxDDRC_SOURCES    += \
     
    13291329 ifdef VBOX_WITH_USB
    13301330 VBoxDDR0_DEFS          += VBOX_WITH_USB
    1331   if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     1331  if defined(VBOX_WITH_EHCI_IMPL)
    13321332   VBoxDDR0_DEFS        += VBOX_WITH_EHCI_IMPL
    13331333   VBoxDDR0_SOURCES     += \
    13341334        USB/DevEHCI.cpp
    13351335  endif
    1336   if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
     1336  if defined(VBOX_WITH_XHCI_IMPL)
    13371337   VBoxDDR0_DEFS        += VBOX_WITH_XHCI_IMPL
    13381338   VBoxDDR0_SOURCES     += \
     
    15241524
    15251525if defined(VBOX_WITH_EXTPACK) && defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
    1526  #
    1527  # The EHCI (USB 2.0) Extension Pack Modules.
    1528  #
    1529  if defined(VBOX_WITH_USB)
    1530   DLLS += VBoxEhciR3
    1531   VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
    1532   VBoxEhciR3_SOURCES  = \
    1533         USB/DevEHCI.cpp \
    1534         USB/DevXHCI.cpp
    1535   $(call VBOX_SET_VER_INFO_DLL,VBoxEhciR3,PUEL Extension Pack - EHCI Device)
    1536 
    1537   ifdef VBOX_WITH_R0_MODULES
    1538    ifdef VBOX_WITH_VBOXR0_AS_DLL
    1539     DLLS    += VBoxEhciR0
    1540    else
    1541     SYSMODS += VBoxEhciR0
    1542    endif
    1543    VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
    1544    VBoxEhciR0_SOURCES  = \
    1545         USB/DevEHCI.cpp \
    1546         USB/DevXHCI.cpp
    1547    $(call VBOX_SET_VER_INFO_R0,VBoxEhciR0,PUEL Extension Pack - EHCI Device$(COMMA) ring-0)
    1548    ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS # Wrapper kmod for VBoxEhciR0.r0
    1549     INSTALLS.linux += vbox_vboxehcir0-src
    1550     vbox_vboxehcir0-src_INST = bin/src/vbox_vboxehcir0/
    1551     vbox_vboxehcir0-src_SYMLINKS = \
    1552         SUPWrapperMod-linux.c=>../common/SUPWrapperMod-linux.c \
    1553         Makefile-wrapper.gmk=>../common/Makefile-wrapper.gmk
    1554     vbox_vboxehcir0-src_SOURCES = \
    1555         $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/Makefile-vbox_vboxehcir0.gmk=>Makefile \
    1556         $(VBoxEhciR0_0_OUTDIR)/VBoxEhciR0.r0=>VBoxEhciR0.r0 \
    1557         $(VBoxEhciR0_0_OUTDIR)/VBoxEhciR0.debug=>VBoxEhciR0.debug
    1558    endif
    1559   endif
    1560 
    1561   ifdef VBOX_WITH_RAW_MODE
    1562    SYSMODS += VBoxEhciRC
    1563    VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
    1564    VBoxEhciRC_SOURCES  = \
    1565         USB/DevEHCI.cpp \
    1566         USB/DevXHCI.cpp
    1567    $(call VBOX_SET_VER_INFO_RC,VBoxEhciRC,PUEL Extension Pack - EHCI Device$(COMMA) raw-mode)
    1568   endif
    1569 
    1570   # Hacky but MSI support *must* be enabled
    1571   ifdef VBOX_WITH_MSI_DEVICES
    1572    VBoxEhciR3_DEFS += VBOX_WITH_MSI_DEVICES
    1573    VBoxEhciR0_DEFS += VBOX_WITH_MSI_DEVICES
    1574    VBoxEhciRC_DEFS += VBOX_WITH_MSI_DEVICES
    1575   endif
    1576 
    1577  endif
    1578 
    15791526 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL)
    15801527  DLLS += VBoxPciRawR3
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