PlatformPcieHelperLib.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /** @file
  2. PlatformPcieHelperLib function prototype definitions.
  3. Copyright (c) 2013-2015 Intel Corporation.
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef __PLATFORM_PCIE_HELPER_LIB_H__
  7. #define __PLATFORM_PCIE_HELPER_LIB_H__
  8. #include "Platform.h"
  9. //
  10. // Function prototypes for routines exported by this library.
  11. //
  12. /**
  13. Platform assert PCI express PERST# signal.
  14. @param PlatformType See EFI_PLATFORM_TYPE enum definitions.
  15. **/
  16. VOID
  17. EFIAPI
  18. PlatformPERSTAssert (
  19. IN CONST EFI_PLATFORM_TYPE PlatformType
  20. );
  21. /**
  22. Platform de assert PCI express PERST# signal.
  23. @param PlatformType See EFI_PLATFORM_TYPE enum definitions.
  24. **/
  25. VOID
  26. EFIAPI
  27. PlatformPERSTDeAssert (
  28. IN CONST EFI_PLATFORM_TYPE PlatformType
  29. );
  30. /** Early initialisation of the PCIe controller.
  31. @param PlatformType See EFI_PLATFORM_TYPE enum definitions.
  32. @retval EFI_SUCCESS Operation success.
  33. **/
  34. EFI_STATUS
  35. EFIAPI
  36. PlatformPciExpressEarlyInit (
  37. IN CONST EFI_PLATFORM_TYPE PlatformType
  38. );
  39. #endif // #ifndef __PLATFORM_PCIE_HELPER_LIB_H__