VirtualBox

Changeset 90530 in vbox for trunk/src


Ignore:
Timestamp:
Aug 5, 2021 11:47:12 AM (4 years ago)
Author:
vboxsync
Message:

Devices/Security: Start implementation of a TPM driver talking to the software TPM emulator (swtpm) over TCP, bugref:10075

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

Legend:

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

    r90492 r90530  
    587587  VBoxDD_DEFS           += VBOX_WITH_TPM
    588588  VBoxDD_SOURCES        += \
    589         Security/DevTpm.cpp
     589        Security/DevTpm.cpp \
     590    Security/DrvTpmEmu.cpp
    590591 endif
    591592
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r90492 r90530  
    412412    if (RT_FAILURE(rc))
    413413        return rc;
     414#ifdef VBOX_WITH_TPM
     415    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvTpmEmu);
     416    if (RT_FAILURE(rc))
     417        return rc;
     418#endif
    414419
    415420    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r90492 r90530  
    105105#endif
    106106extern const PDMDEVREG g_DeviceQemuFwCfg;
     107#ifdef VBOX_WITH_TPM
     108extern const PDMDEVREG g_DeviceTpm;
     109#endif
    107110
    108111extern const PDMDRVREG g_DrvMouseQueue;
     
    194197
    195198extern const PDMDRVREG g_DrvIfTrace;
     199#ifdef VBOX_WITH_TPM
     200extern const PDMDRVREG g_DrvTpmEmu;
     201#endif
    196202
    197203#ifdef VBOX_WITH_IOMMU_AMD
     
    200206#ifdef VBOX_WITH_IOMMU_INTEL
    201207extern const PDMDEVREG g_DeviceIommuIntel;
    202 #endif
    203 #ifdef VBOX_WITH_TPM
    204 extern const PDMDEVREG g_DeviceTpm;
    205208#endif
    206209
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