Commit | Line | Data |
---|---|---|
b303605e MK |
1 | /** @file\r |
2 | PlatformPcieHelperLib function prototype definitions.\r | |
3 | \r | |
4 | Copyright (c) 2013-2015 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_PCIE_HELPER_LIB_H__\r | |
11 | #define __PLATFORM_PCIE_HELPER_LIB_H__\r | |
12 | \r | |
13 | #include "Platform.h"\r | |
14 | \r | |
15 | //\r | |
16 | // Function prototypes for routines exported by this library.\r | |
17 | //\r | |
18 | \r | |
19 | /**\r | |
20 | Platform assert PCI express PERST# signal.\r | |
21 | \r | |
22 | @param PlatformType See EFI_PLATFORM_TYPE enum definitions.\r | |
23 | \r | |
24 | **/\r | |
25 | VOID\r | |
26 | EFIAPI\r | |
27 | PlatformPERSTAssert (\r | |
28 | IN CONST EFI_PLATFORM_TYPE PlatformType\r | |
29 | );\r | |
30 | \r | |
31 | /**\r | |
32 | Platform de assert PCI express PERST# signal.\r | |
33 | \r | |
34 | @param PlatformType See EFI_PLATFORM_TYPE enum definitions.\r | |
35 | \r | |
36 | **/\r | |
37 | VOID\r | |
38 | EFIAPI\r | |
39 | PlatformPERSTDeAssert (\r | |
40 | IN CONST EFI_PLATFORM_TYPE PlatformType\r | |
41 | );\r | |
42 | \r | |
43 | /** Early initialisation of the PCIe controller.\r | |
44 | \r | |
45 | @param PlatformType See EFI_PLATFORM_TYPE enum definitions.\r | |
46 | \r | |
47 | @retval EFI_SUCCESS Operation success.\r | |
48 | \r | |
49 | **/\r | |
50 | EFI_STATUS\r | |
51 | EFIAPI\r | |
52 | PlatformPciExpressEarlyInit (\r | |
53 | IN CONST EFI_PLATFORM_TYPE PlatformType\r | |
54 | );\r | |
55 | \r | |
56 | #endif // #ifndef __PLATFORM_PCIE_HELPER_LIB_H__\r |