]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Defer TCG table publish after LASA/LAML in the table got updated.
authorgdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 Jul 2012 03:22:21 +0000 (03:22 +0000)
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 Jul 2012 03:22:21 +0000 (03:22 +0000)
signed-off by Tao Hengyan <hengyan.tao@intel.com>
reviewed by Dong Guo <guo.dong@intel.com>
reviewed by Hot Tian <hot.tian@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13513 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/Tcg/TcgDxe/TcgDxe.c

index 05a11360d46b16d3339c9ec580c0619227da23d7..5b8f45d83f250a7b4f6e9bef83a3502b1e17069d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file  \r
   This module implements TCG EFI Protocol.\r
   \r
-Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2005 - 2012, 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
@@ -1176,11 +1176,6 @@ DriverEntry (
                   EFI_NATIVE_INTERFACE,\r
                   &mTcgDxeData.TcgProtocol\r
                   );\r
-  //\r
-  // Install ACPI Table\r
-  //\r
-  EfiCreateProtocolNotifyEvent (&gEfiAcpiTableProtocolGuid, TPL_CALLBACK, InstallAcpiTable, NULL, &Registration);\r
-    \r
   if (!EFI_ERROR (Status) && !mTcgDxeData.BsCap.TPMDeactivatedFlag) {\r
     //\r
     // Setup the log area and copy event log from hob list to it\r
@@ -1208,5 +1203,10 @@ DriverEntry (
                     );\r
   }\r
 \r
+  //\r
+  // Install ACPI Table\r
+  //\r
+  EfiCreateProtocolNotifyEvent (&gEfiAcpiTableProtocolGuid, TPL_CALLBACK, InstallAcpiTable, NULL, &Registration);\r
+  \r
   return Status;\r
 }\r