VirtualBox

Ignore:
Timestamp:
Sep 27, 2023 1:34:02 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159276
Message:

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c

    r99404 r101291  
    5050  EFI_STATUS  Status;
    5151
    52   DEBUG ((DEBUG_INFO, "%a\n", __FUNCTION__));
     52  DEBUG ((DEBUG_INFO, "%a\n", __func__));
    5353
    5454  Status = InternalTpm12Detect ();
    5555  if (!EFI_ERROR (Status)) {
    56     DEBUG ((DEBUG_INFO, "%a: TPM1.2 detected\n", __FUNCTION__));
     56    DEBUG ((DEBUG_INFO, "%a: TPM1.2 detected\n", __func__));
    5757    Size   = sizeof (gEfiTpmDeviceInstanceTpm12Guid);
    5858    Status = PcdSetPtrS (
     
    6565    Status = Tpm2RequestUseTpm ();
    6666    if (!EFI_ERROR (Status)) {
    67       DEBUG ((DEBUG_INFO, "%a: TPM2 detected\n", __FUNCTION__));
     67      DEBUG ((DEBUG_INFO, "%a: TPM2 detected\n", __func__));
    6868      Size   = sizeof (gEfiTpmDeviceInstanceTpm20DtpmGuid);
    6969      Status = PcdSetPtrS (
     
    7474      ASSERT_EFI_ERROR (Status);
    7575    } else {
    76       DEBUG ((DEBUG_INFO, "%a: no TPM detected\n", __FUNCTION__));
     76      DEBUG ((DEBUG_INFO, "%a: no TPM detected\n", __func__));
    7777      //
    7878      // If no TPM2 was detected, we still need to install
  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPeim.c

    r99404 r101291  
    3939  EFI_STATUS     Status;
    4040
    41   DEBUG ((DEBUG_INFO, "%a\n", __FUNCTION__));
     41  DEBUG ((DEBUG_INFO, "%a\n", __func__));
    4242
    4343  //
     
    6161      DEBUG_INFO,
    6262      "%a: mapping TPM MMIO address range unencrypted\n",
    63       __FUNCTION__
     63      __func__
    6464      ));
    6565
     
    7474        DEBUG_ERROR,
    7575        "%a: failed to map TPM MMIO address range unencrypted\n",
    76         __FUNCTION__
     76        __func__
    7777        ));
    7878      ASSERT_RETURN_ERROR (DecryptStatus);
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