]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformInitPei/CpuInitPeim.c
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformInitPei / CpuInitPeim.c
1 /** @file
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13
14 Module Name:
15
16
17 CpuInitPeim.c
18
19 Abstract:
20
21 Functions for LpcSio initilization
22 It is needed for early onboard LAN controller disable/enable in platform setup.
23
24 --*/
25
26 #include "PlatformEarlyInit.h"
27
28
29 EFI_STATUS
30 PlatformCpuInit (
31 IN CONST EFI_PEI_SERVICES **PeiServices,
32 IN SYSTEM_CONFIGURATION *SystemConfiguration,
33 IN EFI_PLATFORM_CPU_INFO *PlatformCpuInfo
34 )
35 {
36 BOOLEAN ResetRequired;
37
38 //
39 // Variable initialization
40 //
41 ResetRequired = FALSE;
42
43
44 if (ResetRequired) {
45 CpuOnlyReset(PeiServices);
46 }
47
48 return EFI_SUCCESS;
49 }