TianoCore EDK2 master
|
#include "CpuMpPei.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | SecPlatformInformation2 (IN CONST EFI_PEI_SERVICES **PeiServices, IN OUT UINT64 *StructureSize, OUT EFI_SEC_PLATFORM_INFORMATION_RECORD2 *PlatformInformationRecord2) |
EFI_STATUS | GetBistInfoFromPpi (IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_GUID *Guid, OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, OUT VOID **BistInformationData, OUT UINT64 *BistInformationSize OPTIONAL) |
VOID | CollectBistDataFromPpi (IN CONST EFI_PEI_SERVICES **PeiServices) |
Variables | |
EFI_SEC_PLATFORM_INFORMATION2_PPI | mSecPlatformInformation2Ppi |
EFI_PEI_PPI_DESCRIPTOR | mPeiSecPlatformInformation2Ppi |
Update and publish processors' BIST information.
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CpuBist.c.
VOID CollectBistDataFromPpi | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices | ) |
EFI_STATUS GetBistInfoFromPpi | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
IN CONST EFI_GUID * | Guid, | ||
OUT EFI_PEI_PPI_DESCRIPTOR ** | PpiDescriptor, | ||
OUT VOID ** | BistInformationData, | ||
OUT UINT64 *BistInformationSize | OPTIONAL | ||
) |
Worker function to get CPUs' BIST by calling SecPlatformInformationPpi or SecPlatformInformation2Ppi.
PeiServices | Pointer to PEI Services Table |
Guid | PPI Guid |
PpiDescriptor | Return a pointer to instance of the EFI_PEI_PPI_DESCRIPTOR |
BistInformationData | Pointer to BIST information data |
BistInformationSize | Return the size in bytes of BIST information |
EFI_SUCCESS | Retrieve of the BIST data successfully |
EFI_NOT_FOUND | No sec platform information(2) ppi export |
EFI_DEVICE_ERROR | Failed to get CPU Information |
EFI_STATUS EFIAPI SecPlatformInformation2 | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
IN OUT UINT64 * | StructureSize, | ||
OUT EFI_SEC_PLATFORM_INFORMATION_RECORD2 * | PlatformInformationRecord2 | ||
) |
Implementation of the PlatformInformation2 service in EFI_SEC_PLATFORM_INFORMATION2_PPI.
PeiServices | The pointer to the PEI Services Table. |
StructureSize | The pointer to the variable describing size of the input buffer. |
PlatformInformationRecord2 | The pointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD2. |
EFI_SUCCESS | The data was successfully returned. |
EFI_BUFFER_TOO_SMALL | The buffer was too small. The current buffer size needed to hold the record is returned in StructureSize. |
EFI_PEI_PPI_DESCRIPTOR mPeiSecPlatformInformation2Ppi |
EFI_SEC_PLATFORM_INFORMATION2_PPI mSecPlatformInformation2Ppi |