It can be registered to Tpm2 Device router, to be active TPM2 engine,\r
based on platform setting.\r
\r
-Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>\r
+Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
#include <Guid/TpmInstance.h>\r
\r
+/**\r
+ Dump PTP register information.\r
+\r
+ @param[in] Register Pointer to PTP register.\r
+**/\r
+VOID\r
+DumpPtpInfo (\r
+ IN VOID *Register\r
+ );\r
+\r
/**\r
This service enables the sending of commands to the TPM2.\r
\r
//\r
// Unsupported means platform policy does not need this instance enabled.\r
//\r
+ if (Status == EFI_SUCCESS) {\r
+ DumpPtpInfo ((VOID *) (UINTN) PcdGet64 (PcdTpmBaseAddress));\r
+ }\r
return EFI_SUCCESS;\r
}\r
return Status;\r