]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Include/Library/PlatformPcieHelperLib.h
QuarkPlatformPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / QuarkPlatformPkg / Include / Library / PlatformPcieHelperLib.h
1 /** @file
2 PlatformPcieHelperLib function prototype definitions.
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef __PLATFORM_PCIE_HELPER_LIB_H__
11 #define __PLATFORM_PCIE_HELPER_LIB_H__
12
13 #include "Platform.h"
14
15 //
16 // Function prototypes for routines exported by this library.
17 //
18
19 /**
20 Platform assert PCI express PERST# signal.
21
22 @param PlatformType See EFI_PLATFORM_TYPE enum definitions.
23
24 **/
25 VOID
26 EFIAPI
27 PlatformPERSTAssert (
28 IN CONST EFI_PLATFORM_TYPE PlatformType
29 );
30
31 /**
32 Platform de assert PCI express PERST# signal.
33
34 @param PlatformType See EFI_PLATFORM_TYPE enum definitions.
35
36 **/
37 VOID
38 EFIAPI
39 PlatformPERSTDeAssert (
40 IN CONST EFI_PLATFORM_TYPE PlatformType
41 );
42
43 /** Early initialisation of the PCIe controller.
44
45 @param PlatformType See EFI_PLATFORM_TYPE enum definitions.
46
47 @retval EFI_SUCCESS Operation success.
48
49 **/
50 EFI_STATUS
51 EFIAPI
52 PlatformPciExpressEarlyInit (
53 IN CONST EFI_PLATFORM_TYPE PlatformType
54 );
55
56 #endif // #ifndef __PLATFORM_PCIE_HELPER_LIB_H__