]>
Commit | Line | Data |
---|---|---|
b303605e MK |
1 | /** @file\r |
2 | Platform init DXE driver header file.\r | |
3 | \r | |
4 | Copyright (c) 2013 Intel Corporation.\r | |
5 | \r | |
0eb3de2e | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
b303605e MK |
7 | \r |
8 | **/\r | |
9 | \r | |
10 | #ifndef _PLATFORM_TYPES_H_\r | |
11 | #define _PLATFORM_TYPES_H_\r | |
12 | \r | |
13 | #include <PiDxe.h>\r | |
14 | #include <Library/DebugLib.h>\r | |
15 | #include <Library/BaseLib.h>\r | |
16 | #include <Library/BaseMemoryLib.h>\r | |
17 | #include <Library/UefiLib.h>\r | |
18 | #include <Library/UefiBootServicesTableLib.h>\r | |
19 | #include <Library/HobLib.h>\r | |
20 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
21 | #include <Library/PlatformHelperLib.h>\r | |
22 | #include <Library/PlatformPcieHelperLib.h>\r | |
23 | #include <Library/IntelQNCLib.h>\r | |
24 | #include <Library/QNCAccessLib.h>\r | |
25 | #include <Library/DxeServicesTableLib.h>\r | |
26 | #include <Library/I2cLib.h>\r | |
27 | #include <Protocol/Variable.h>\r | |
28 | #include <Protocol/Cpu.h>\r | |
29 | #include <Protocol/PciEnumerationComplete.h>\r | |
30 | #include <Protocol/Spi.h>\r | |
31 | #include <Protocol/PlatformSmmSpiReady.h>\r | |
32 | #include <Protocol/SmmConfiguration.h>\r | |
33 | #include <Guid/HobList.h>\r | |
34 | #include <IntelQNCRegs.h>\r | |
35 | #include <Platform.h>\r | |
36 | #include <Pcal9555.h>\r | |
37 | #include <PlatformBoards.h>\r | |
38 | #include <IohAccess.h>\r | |
39 | \r | |
40 | #define BLOCK_SIZE_32KB 0x8000\r | |
41 | #define BLOCK_SIZE_64KB 0x10000\r | |
42 | \r | |
43 | //\r | |
44 | // Function prototypes for routines private to this driver.\r | |
45 | //\r | |
46 | EFI_STATUS\r | |
47 | EFIAPI\r | |
48 | CreateConfigEvents (\r | |
49 | VOID\r | |
50 | );\r | |
51 | \r | |
52 | EFI_STATUS\r | |
53 | EFIAPI\r | |
54 | PlatformPcal9555Config (\r | |
55 | IN CONST EFI_PLATFORM_TYPE PlatformType\r | |
56 | );\r | |
57 | \r | |
58 | #endif\r |