X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FPpi%2FSecPlatformInformation.h;h=533640c7cc8f17f005fd5298994dd64d1e1447bd;hb=5a6391d359a356593e98f9e09b68085b6dfbfe54;hp=bcba5dbf2af6f5d0cce9b2aac81c79257f54a66c;hpb=9c89ec98193e24eb9849a66c83f6a80b64a51c4c;p=mirror_edk2.git diff --git a/MdePkg/Include/Ppi/SecPlatformInformation.h b/MdePkg/Include/Ppi/SecPlatformInformation.h index bcba5dbf2a..533640c7cc 100644 --- a/MdePkg/Include/Ppi/SecPlatformInformation.h +++ b/MdePkg/Include/Ppi/SecPlatformInformation.h @@ -1,7 +1,7 @@ /** @file This file declares Sec Platform Information PPI. - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2007, 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 @@ -10,11 +10,9 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: SecPlatformInformation.h - @par Revision Reference: - This PPI is defined in PEI CIS. - Version 0.91. + This PPI is defined in PI. + Version 1.00. **/ @@ -28,14 +26,6 @@ typedef struct _EFI_SEC_PLATFORM_INFORMATION_PPI EFI_SEC_PLATFORM_INFORMATION_PPI; -extern EFI_GUID gEfiSecPlatformInformationPpiGuid; - -typedef struct { - UINTN BootPhase; // entry r20 value - UINTN UniqueId; // PAL arbitration ID - UINTN HealthStat; // Health Status - UINTN PALRetAddress; // return address to PAL -} IPF_HANDOFF_STATUS; /// /// EFI_HEALTH_FLAGS @@ -50,14 +40,16 @@ typedef union { UINT32 FloatingPointUnavailable : 1; UINT32 MiscFeaturesUnavailable : 1; UINT32 Reserved2 :12; - } Bits; - UINT32 Uint32; + } Bits; + UINT32 Uint32; } EFI_HEALTH_FLAGS; typedef struct { EFI_HEALTH_FLAGS HealthFlags; } EFI_SEC_PLATFORM_INFORMATION_RECORD; + + /** This interface conveys state information out of the Security (SEC) phase into PEI. @@ -72,13 +64,14 @@ typedef struct { typedef EFI_STATUS (EFIAPI *EFI_SEC_PLATFORM_INFORMATION) ( - IN EFI_PEI_SERVICES **PeiServices, - IN OUT UINT64 *StructureSize, - OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord - ); + IN CONST EFI_PEI_SERVICES **PeiServices, + IN OUT UINT64 *StructureSize, + OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord +); + /** - @par Ppi Description: + Ppi Description: @param Name @@ -87,4 +80,7 @@ struct _EFI_SEC_PLATFORM_INFORMATION_PPI { EFI_SEC_PLATFORM_INFORMATION PlatformInformation; }; + +extern EFI_GUID gEfiSecPlatformInformationPpiGuid; + #endif