From 627c396148c4d9942e9b65d819ae7d223cbc3dc0 Mon Sep 17 00:00:00 2001 From: gdong1 Date: Mon, 9 Jul 2012 03:22:21 +0000 Subject: Defer TCG table publish after LASA/LAML in the table got updated. signed-off by Tao Hengyan reviewed by Dong Guo reviewed by Hot Tian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13513 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'SecurityPkg/Tcg/TcgDxe') diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c index 05a11360d4..5b8f45d83f 100644 --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c @@ -1,7 +1,7 @@ /** @file This module implements TCG EFI Protocol. -Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1176,11 +1176,6 @@ DriverEntry ( EFI_NATIVE_INTERFACE, &mTcgDxeData.TcgProtocol ); - // - // Install ACPI Table - // - EfiCreateProtocolNotifyEvent (&gEfiAcpiTableProtocolGuid, TPL_CALLBACK, InstallAcpiTable, NULL, &Registration); - if (!EFI_ERROR (Status) && !mTcgDxeData.BsCap.TPMDeactivatedFlag) { // // Setup the log area and copy event log from hob list to it @@ -1208,5 +1203,10 @@ DriverEntry ( ); } + // + // Install ACPI Table + // + EfiCreateProtocolNotifyEvent (&gEfiAcpiTableProtocolGuid, TPL_CALLBACK, InstallAcpiTable, NULL, &Registration); + return Status; } -- cgit v1.2.3