]>
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 | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _PLATFORM_TYPES_H_\r | |
17 | #define _PLATFORM_TYPES_H_\r | |
18 | \r | |
19 | #include <PiDxe.h>\r | |
20 | #include <Library/DebugLib.h>\r | |
21 | #include <Library/BaseLib.h>\r | |
22 | #include <Library/BaseMemoryLib.h>\r | |
23 | #include <Library/UefiLib.h>\r | |
24 | #include <Library/UefiBootServicesTableLib.h>\r | |
25 | #include <Library/HobLib.h>\r | |
26 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
27 | #include <Library/PlatformHelperLib.h>\r | |
28 | #include <Library/PlatformPcieHelperLib.h>\r | |
29 | #include <Library/IntelQNCLib.h>\r | |
30 | #include <Library/QNCAccessLib.h>\r | |
31 | #include <Library/DxeServicesTableLib.h>\r | |
32 | #include <Library/I2cLib.h>\r | |
33 | #include <Protocol/Variable.h>\r | |
34 | #include <Protocol/Cpu.h>\r | |
35 | #include <Protocol/PciEnumerationComplete.h>\r | |
36 | #include <Protocol/Spi.h>\r | |
37 | #include <Protocol/PlatformSmmSpiReady.h>\r | |
38 | #include <Protocol/SmmConfiguration.h>\r | |
39 | #include <Guid/HobList.h>\r | |
40 | #include <IntelQNCRegs.h>\r | |
41 | #include <Platform.h>\r | |
42 | #include <Pcal9555.h>\r | |
43 | #include <PlatformBoards.h>\r | |
44 | #include <IohAccess.h>\r | |
45 | \r | |
46 | #define BLOCK_SIZE_32KB 0x8000\r | |
47 | #define BLOCK_SIZE_64KB 0x10000\r | |
48 | \r | |
49 | //\r | |
50 | // Function prototypes for routines private to this driver.\r | |
51 | //\r | |
52 | EFI_STATUS\r | |
53 | EFIAPI\r | |
54 | CreateConfigEvents (\r | |
55 | VOID\r | |
56 | );\r | |
57 | \r | |
58 | EFI_STATUS\r | |
59 | EFIAPI\r | |
60 | PlatformPcal9555Config (\r | |
61 | IN CONST EFI_PLATFORM_TYPE PlatformType\r | |
62 | );\r | |
63 | \r | |
64 | #endif\r |