]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/SecPlatformInformation.h
Removed tabs and fixed some minor coding style issues. Also fixed typo in EFI_PEI_ENT...
[mirror_edk2.git] / MdePkg / Include / Ppi / SecPlatformInformation.h
index bcba5dbf2af6f5d0cce9b2aac81c79257f54a66c..da75ad89f2694632dea692d3d3ab3bf2df1b63e9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This file declares Sec Platform Information PPI.\r
 \r
-  Copyright (c) 2006, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
   All rights reserved. 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
@@ -13,8 +13,8 @@
   Module Name:  SecPlatformInformation.h\r
 \r
   @par Revision Reference:\r
-  This PPI is defined in PEI CIS.\r
-  Version 0.91.\r
+  This PPI is defined in PI.\r
+  Version 1.00.\r
 \r
 **/\r
 \r
 \r
 typedef struct _EFI_SEC_PLATFORM_INFORMATION_PPI EFI_SEC_PLATFORM_INFORMATION_PPI;\r
 \r
-extern EFI_GUID gEfiSecPlatformInformationPpiGuid;\r
-\r
-typedef struct {\r
-  UINTN BootPhase;      // entry r20 value\r
-  UINTN UniqueId;       // PAL arbitration ID\r
-  UINTN HealthStat;     // Health Status\r
-  UINTN PALRetAddress;  // return address to PAL\r
-} IPF_HANDOFF_STATUS;\r
 \r
 ///\r
 /// EFI_HEALTH_FLAGS\r
@@ -50,14 +42,16 @@ typedef union {
     UINT32   FloatingPointUnavailable : 1;\r
     UINT32   MiscFeaturesUnavailable  : 1;\r
     UINT32   Reserved2                :12;\r
-  }                     Bits;\r
-  UINT32                Uint32;\r
+  } Bits;\r
+  UINT32     Uint32;\r
 } EFI_HEALTH_FLAGS;\r
 \r
 typedef struct {\r
   EFI_HEALTH_FLAGS HealthFlags;\r
 } EFI_SEC_PLATFORM_INFORMATION_RECORD;\r
 \r
+\r
+\r
 /**\r
   This interface conveys state information out of the Security (SEC) phase into PEI.\r
 \r
@@ -72,13 +66,14 @@ typedef struct {
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_SEC_PLATFORM_INFORMATION) (\r
-  IN EFI_PEI_SERVICES                      **PeiServices,\r
-  IN OUT UINT64                            *StructureSize,\r
-  OUT EFI_SEC_PLATFORM_INFORMATION_RECORD  *PlatformInformationRecord\r
-  );\r
+  IN CONST  EFI_PEI_SERVICES                    **PeiServices,\r
+  IN OUT    UINT64                              *StructureSize,\r
+  OUT       EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord\r
+);\r
+\r
 \r
 /**\r
-  @par Ppi Description:\r
+  Ppi Description:\r
 \r
   @param Name\r
 \r
@@ -87,4 +82,7 @@ struct _EFI_SEC_PLATFORM_INFORMATION_PPI {
   EFI_SEC_PLATFORM_INFORMATION  PlatformInformation;\r
 };\r
 \r
+\r
+extern EFI_GUID gEfiSecPlatformInformationPpiGuid;\r
+\r
 #endif\r