]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Include/Library/PlatformPcieHelperLib.h
QuarkPlatformPkg: Add new package for Galileo boards
[mirror_edk2.git] / QuarkPlatformPkg / Include / Library / PlatformPcieHelperLib.h
diff --git a/QuarkPlatformPkg/Include/Library/PlatformPcieHelperLib.h b/QuarkPlatformPkg/Include/Library/PlatformPcieHelperLib.h
new file mode 100644 (file)
index 0000000..308ebe8
--- /dev/null
@@ -0,0 +1,62 @@
+/** @file\r
+PlatformPcieHelperLib function prototype definitions.\r
+\r
+Copyright (c) 2013-2015 Intel Corporation.\r
+\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __PLATFORM_PCIE_HELPER_LIB_H__\r
+#define __PLATFORM_PCIE_HELPER_LIB_H__\r
+\r
+#include "Platform.h"\r
+\r
+//\r
+// Function prototypes for routines exported by this library.\r
+//\r
+\r
+/**\r
+  Platform assert PCI express PERST# signal.\r
+\r
+  @param   PlatformType     See EFI_PLATFORM_TYPE enum definitions.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+PlatformPERSTAssert (\r
+  IN CONST EFI_PLATFORM_TYPE              PlatformType\r
+  );\r
+\r
+/**\r
+  Platform de assert PCI express PERST# signal.\r
+\r
+  @param   PlatformType     See EFI_PLATFORM_TYPE enum definitions.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+PlatformPERSTDeAssert (\r
+  IN CONST EFI_PLATFORM_TYPE              PlatformType\r
+  );\r
+\r
+/** Early initialisation of the PCIe controller.\r
+\r
+  @param   PlatformType     See EFI_PLATFORM_TYPE enum definitions.\r
+\r
+  @retval   EFI_SUCCESS               Operation success.\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+PlatformPciExpressEarlyInit (\r
+  IN CONST EFI_PLATFORM_TYPE              PlatformType\r
+  );\r
+\r
+#endif // #ifndef __PLATFORM_PCIE_HELPER_LIB_H__\r