VirtualBox

Changeset 91331 in vbox


Ignore:
Timestamp:
Sep 22, 2021 3:18:46 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146996
Message:

Devices: Integrate the libtpms based TPM emulation driver in the build infrastructure (still disabled because libtpms approval is still pending), bugref:10075

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

Legend:

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

    r91046 r91331  
    595595  VBoxDD_SOURCES.win += \
    596596        Security/DrvTpmHost.cpp
     597
     598  if defined(VBOX_WITH_LIBTPMS)
     599   VBoxDD_SDKS          += VBOX_TPMS
     600   VBoxDD_DEFS          += VBOX_WITH_LIBTPMS
     601   VBoxDD_SOURCES += \
     602        Security/DrvTpmEmuTpms.cpp
     603  endif
    597604 endif
    598605
  • TabularUnified trunk/src/VBox/Devices/build/VBoxDD.cpp

    r90946 r91331  
    422422        return rc;
    423423# endif
     424
     425# ifdef VBOX_WITH_LIBTPMS
     426    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvTpmEmuTpms);
     427    if (RT_FAILURE(rc))
     428        return rc;
     429# endif
    424430#endif
    425431
  • TabularUnified trunk/src/VBox/Devices/build/VBoxDD.h

    r90946 r91331  
    202202extern const PDMDRVREG g_DrvTpmHost;
    203203# endif
     204# ifdef VBOX_WITH_LIBTPMS
     205extern const PDMDRVREG g_DrvTpmEmuTpms;
     206# endif
    204207#endif
    205208
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette