]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - UefiCpuPkg/CpuMpPei/CpuMpPei.h
UefiCpuPkg/CpuMpPei: Remove unused files and codes
[mirror_edk2.git] / UefiCpuPkg / CpuMpPei / CpuMpPei.h
... / ...
CommitLineData
1/** @file\r
2 Definitions to install Multiple Processor PPI.\r
3\r
4 Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _CPU_MP_PEI_H_\r
16#define _CPU_MP_PEI_H_\r
17\r
18#include <PiPei.h>\r
19\r
20#include <Ppi/MpServices.h>\r
21#include <Ppi/SecPlatformInformation.h>\r
22#include <Ppi/SecPlatformInformation2.h>\r
23#include <Ppi/EndOfPeiPhase.h>\r
24\r
25#include <Library/BaseLib.h>\r
26#include <Library/DebugLib.h>\r
27#include <Library/HobLib.h>\r
28#include <Library/LocalApicLib.h>\r
29#include <Library/PeimEntryPoint.h>\r
30#include <Library/PeiServicesLib.h>\r
31#include <Library/ReportStatusCodeLib.h>\r
32#include <Library/CpuExceptionHandlerLib.h>\r
33#include <Library/MpInitLib.h>\r
34\r
35extern EFI_PEI_PPI_DESCRIPTOR mPeiCpuMpPpiDesc;\r
36\r
37\r
38/**\r
39 Collects BIST data from PPI.\r
40\r
41 This function collects BIST data from Sec Platform Information2 PPI\r
42 or SEC Platform Information PPI.\r
43\r
44 @param PeiServices Pointer to PEI Services Table\r
45\r
46**/\r
47VOID\r
48CollectBistDataFromPpi (\r
49 IN CONST EFI_PEI_SERVICES **PeiServices\r
50 );\r
51\r
52/**\r
53 Implementation of the PlatformInformation2 service in EFI_SEC_PLATFORM_INFORMATION2_PPI.\r
54\r
55 @param PeiServices The pointer to the PEI Services Table.\r
56 @param StructureSize The pointer to the variable describing size of the input buffer.\r
57 @param PlatformInformationRecord2 The pointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD2.\r
58\r
59 @retval EFI_SUCCESS The data was successfully returned.\r
60 @retval EFI_BUFFER_TOO_SMALL The buffer was too small. The current buffer size needed to\r
61 hold the record is returned in StructureSize.\r
62\r
63**/\r
64EFI_STATUS\r
65EFIAPI\r
66SecPlatformInformation2 (\r
67 IN CONST EFI_PEI_SERVICES **PeiServices,\r
68 IN OUT UINT64 *StructureSize,\r
69 OUT EFI_SEC_PLATFORM_INFORMATION_RECORD2 *PlatformInformationRecord2\r
70 );\r
71\r
72#endif\r