]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib.h
UefiCpuPkg/CpuMpPei/Ia32: Use CodeSegment and DataSegment fields
[mirror_edk2.git] / Vlv2TbltDevicePkg / Library / MultiPlatformLib / MultiPlatformLib.h
CommitLineData
3cbfba02
DW
1/**@file\r
2 Multiplatform initialization header file.\r
3\r
4 This file includes package header files, library classes.\r
5\r
6 Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>\r
7 \r\r
8 This program and the accompanying materials are licensed and made available under\r\r
9 the terms and conditions of the BSD License that accompanies this distribution. \r\r
10 The full text of the license may be found at \r\r
11 http://opensource.org/licenses/bsd-license.php. \r\r
12 \r\r
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
15 \r\r
16**/\r
17\r
18#ifndef _MULTIPLATFORM_LIB_H_\r
19#define _MULTIPLATFORM_LIB_H_\r
20\r
21\r
22#define LEN_64M 0x4000000\r
23\r
24//\r
25// Default PCI32 resource size\r
26//\r
27#define RES_MEM32_MIN_LEN 0x38000000\r
28\r
29#define RES_IO_BASE 0x0D00\r
30#define RES_IO_LIMIT 0xFFFF\r
31\r
32#include <PiDxe.h>\r
33#include <Library/BaseLib.h>\r
34#include <FrameworkPei.h>\r
35\r
36#include "PlatformBaseAddresses.h"\r
37#include "PchAccess.h"\r
38#include "SetupMode.h"\r
39#include "PlatformBootMode.h"\r
40#include "Platform.h"\r
41\r
42#include <Ppi/Stall.h>\r
43#include <Guid/SetupVariable.h>\r
44#include <Ppi/AtaController.h>\r
45#include <Ppi/FindFv.h>\r
46#include <Ppi/BootInRecoveryMode.h>\r
47#include <Ppi/ReadOnlyVariable2.h>\r
48#include <Ppi/Capsule.h>\r
49#include <Guid/EfiVpdData.h>\r
50#include <Library/DebugLib.h>\r
51#include <Library/BaseMemoryLib.h>\r
52#include <Library/PcdLib.h>\r
53#include <Library/IoLib.h>\r
54#include <Library/HobLib.h>\r
55#include <Library/BaseLib.h>\r
56#include <IndustryStandard/Pci22.h>\r
57#include <Ppi/Speaker.h>\r
58#include <Guid/FirmwareFileSystem.h>\r
59#include <Guid/MemoryTypeInformation.h>\r
60#include <Ppi/Cache.h>\r
61#include <Ppi/Reset.h>\r
62#include <Ppi/EndOfPeiPhase.h>\r
63#include <Ppi/MemoryDiscovered.h>\r
64#include <Guid/GlobalVariable.h>\r
65#include <Ppi/RecoveryModule.h>\r
66#include <Ppi/DeviceRecoveryModule.h>\r
67#include <Guid/Capsule.h>\r
68#include <Guid/RecoveryDevice.h>\r
69#include <Ppi/MasterBootMode.h>\r
70#include <Guid/PlatformInfo.h>\r
71\r
72#include <BoardOemIds/BoardOemIds.h>\r
73#include <BoardSsidSvid/BoardSsidSvid.h>\r
74\r
75\r
76EFI_STATUS\r
77GetPlatformInfoHob (\r
78 IN CONST EFI_PEI_SERVICES **PeiServices,\r
79 OUT EFI_PLATFORM_INFO_HOB **PlatformInfoHob\r
80 );\r
81\r
82EFI_STATUS\r
83MultiPlatformGpioTableInit (\r
84 IN CONST EFI_PEI_SERVICES **PeiServices,\r
85 IN EFI_PLATFORM_INFO_HOB *PlatformInfoHob\r
86 );\r
87\r
88EFI_STATUS\r
89MultiPlatformGpioProgram (\r
90 IN CONST EFI_PEI_SERVICES **PeiServices,\r
91 IN EFI_PLATFORM_INFO_HOB *PlatformInfoHob\r
92 );\r
93\r
94#endif\r