2 Multiplatform initialization header file.
4 This file includes package header files, library classes.
6 Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
8 This program and the accompanying materials are licensed and made available under
9 the terms and conditions of the BSD License that accompanies this distribution.
10 The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php.
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #ifndef _MULTIPLATFORM_LIB_H_
19 #define _MULTIPLATFORM_LIB_H_
22 #define LEN_64M 0x4000000
25 // Default PCI32 resource size
27 #define RES_MEM32_MIN_LEN 0x38000000
29 #define RES_IO_BASE 0x0D00
30 #define RES_IO_LIMIT 0xFFFF
33 #include <Library/BaseLib.h>
34 #include <FrameworkPei.h>
36 #include "PlatformBaseAddresses.h"
37 #include "PchAccess.h"
38 #include "SetupMode.h"
39 #include "PlatformBootMode.h"
42 #include <Ppi/Stall.h>
43 #include <Guid/SetupVariable.h>
44 #include <Ppi/AtaController.h>
45 #include <Ppi/FindFv.h>
46 #include <Ppi/BootInRecoveryMode.h>
47 #include <Ppi/ReadOnlyVariable2.h>
48 #include <Ppi/Capsule.h>
49 #include <Guid/EfiVpdData.h>
50 #include <Library/DebugLib.h>
51 #include <Library/BaseMemoryLib.h>
52 #include <Library/PcdLib.h>
53 #include <Library/IoLib.h>
54 #include <Library/HobLib.h>
55 #include <Library/BaseLib.h>
56 #include <IndustryStandard/Pci22.h>
57 #include <Ppi/Speaker.h>
58 #include <Guid/FirmwareFileSystem.h>
59 #include <Guid/MemoryTypeInformation.h>
60 #include <Ppi/Cache.h>
61 #include <Ppi/Reset.h>
62 #include <Ppi/EndOfPeiPhase.h>
63 #include <Ppi/MemoryDiscovered.h>
64 #include <Guid/GlobalVariable.h>
65 #include <Ppi/RecoveryModule.h>
66 #include <Ppi/DeviceRecoveryModule.h>
67 #include <Guid/Capsule.h>
68 #include <Guid/RecoveryDevice.h>
69 #include <Ppi/MasterBootMode.h>
70 #include <Guid/PlatformInfo.h>
72 #include <BoardOemIds/BoardOemIds.h>
73 #include <BoardSsidSvid/BoardSsidSvid.h>
78 IN CONST EFI_PEI_SERVICES
**PeiServices
,
79 OUT EFI_PLATFORM_INFO_HOB
**PlatformInfoHob
83 MultiPlatformGpioTableInit (
84 IN CONST EFI_PEI_SERVICES
**PeiServices
,
85 IN EFI_PLATFORM_INFO_HOB
*PlatformInfoHob
89 MultiPlatformGpioProgram (
90 IN CONST EFI_PEI_SERVICES
**PeiServices
,
91 IN EFI_PLATFORM_INFO_HOB
*PlatformInfoHob