1 /** @file
2 PlatformPcieHelperLib function prototype definitions.
3 
4 Copyright (c) 2013-2015 Intel Corporation.
5 
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution.  The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10 
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 **/
15 
16 #ifndef __PLATFORM_PCIE_HELPER_LIB_H__
17 #define __PLATFORM_PCIE_HELPER_LIB_H__
18 
19 #include "Platform.h"
20 
21 //
22 // Function prototypes for routines exported by this library.
23 //
24 
25 /**
26   Platform assert PCI express PERST# signal.
27 
28   @param   PlatformType     See EFI_PLATFORM_TYPE enum definitions.
29 
30 **/
31 VOID
32 EFIAPI
33 PlatformPERSTAssert (
34   IN CONST EFI_PLATFORM_TYPE              PlatformType
35   );
36 
37 /**
38   Platform de assert PCI express PERST# signal.
39 
40   @param   PlatformType     See EFI_PLATFORM_TYPE enum definitions.
41 
42 **/
43 VOID
44 EFIAPI
45 PlatformPERSTDeAssert (
46   IN CONST EFI_PLATFORM_TYPE              PlatformType
47   );
48 
49 /** Early initialisation of the PCIe controller.
50 
51   @param   PlatformType     See EFI_PLATFORM_TYPE enum definitions.
52 
53   @retval   EFI_SUCCESS               Operation success.
54 
55 **/
56 EFI_STATUS
57 EFIAPI
58 PlatformPciExpressEarlyInit (
59   IN CONST EFI_PLATFORM_TYPE              PlatformType
60   );
61 
62 #endif // #ifndef __PLATFORM_PCIE_HELPER_LIB_H__
63