TianoCore EDK2 master
Loading...
Searching...
No Matches
SecPlatformInformation.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI SecPlatformInformation (IN CONST EFI_PEI_SERVICES **PeiServices, IN OUT UINT64 *StructureSize, OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord)
 

Detailed Description

Sample to provide SecPlatformInformation function.

Copyright (c) 2014, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SecPlatformInformation.c.

Function Documentation

◆ SecPlatformInformation()

EFI_STATUS EFIAPI SecPlatformInformation ( IN CONST EFI_PEI_SERVICES **  PeiServices,
IN OUT UINT64 *  StructureSize,
OUT EFI_SEC_PLATFORM_INFORMATION_RECORD PlatformInformationRecord 
)

This interface conveys state information out of the Security (SEC) phase into PEI.

Parameters
[in]PeiServicesPointer to the PEI Services Table.
[in,out]StructureSizePointer to the variable describing size of the input buffer.
[out]PlatformInformationRecordPointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD.
Return values
EFI_SUCCESSThe data was successfully returned.
EFI_BUFFER_TOO_SMALLThe buffer was too small.

Definition at line 30 of file SecPlatformInformation.c.