ArmVirtPkg/TPM: Add a NULL implementation of TpmPlatformHierarchyLib

Add a NULL implementation of the library class TpmPlatformHierarchyLib.

Link: https://bugzilla.tianocore.org/show_bug.cgi?id=3510
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Stefan Berger
2021-09-24 07:42:19 -04:00
committed by mergify[bot]
parent c49cb8f30e
commit 282122ec5f
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/** @file
Null TPM Platform Hierarchy configuration library.
This library provides stub functions for customizing the TPM's Platform Hierarchy.
Copyright (c) 2021, IBM Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
/**
A NULL implementation of ConfigureTpmPlatformHierarchy.
**/
VOID
EFIAPI
ConfigureTpmPlatformHierarchy (
)
{
/* do nothing */
}