]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/DxeIpl/PpisNeededByDxeCore.c
Add error handling for TPM in S3 resume failure.
[mirror_edk2.git] / DuetPkg / DxeIpl / PpisNeededByDxeCore.c
index 54f8aa7530b896b21d19e5f9ec87f521d12c92db..e08a148543ad7ea6fcb22e55fe35b78cc28f2f1f 100644 (file)
@@ -1,7 +1,7 @@
-/*++\r
+/** @file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2011, 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
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -16,7 +16,7 @@ Abstract:
   \r
 Revision History:\r
 \r
---*/\r
+**/\r
 \r
 #include "PpisNeededByDxeCore.h"\r
 #include "HobGeneration.h"\r
@@ -48,29 +48,10 @@ Returns:
 \r
 --*/\r
 {\r
-  //EFI_PEI_PE_COFF_LOADER_PROTOCOL           *PeCoffLoader;\r
-  //EFI_DECOMPRESS_PROTOCOL                   *EfiDecompress;\r
-  //EFI_TIANO_DECOMPRESS_PROTOCOL             *TianoDecompress;\r
   EFI_REPORT_STATUS_CODE                    ReportStatusCode;\r
 \r
-  //InstallEfiPeiFlushInstructionCache (&FlushInstructionCache);\r
-  //Hob->FlushInstructionCache.Interface = FlushInstructionCache;\r
-\r
-  // R9 do not need this protocol.\r
-  // InstallEfiPeiTransferControl (&TransferControl);\r
-  // Hob->TransferControl.Interface = TransferControl;\r
-\r
-  //InstallEfiPeiPeCoffLoader (NULL, &PeCoffLoader, NULL);\r
-  //Hob->PeCoffLoader.Interface = PeCoffLoader;\r
-\r
-  //InstallEfiDecompress (&EfiDecompress);\r
-  //Hob->EfiDecompress.Interface = EfiDecompress;\r
-\r
-  //InstallTianoDecompress (&TianoDecompress);\r
-  //Hob->TianoDecompress.Interface = TianoDecompress;\r
-\r
   InstallSerialStatusCode (&ReportStatusCode);\r
-  Hob->SerialStatusCode.Interface = (VOID *)(UINTN)ReportStatusCode;\r
+  Hob->SerialStatusCode.Interface = (EFI_PHYSICAL_ADDRESS) (UINTN) ReportStatusCode;\r
 \r
   return EFI_SUCCESS;\r
 }\r