PeiTbtCommonInitLib.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**@file
  2. PEI TBT Common Init Dispatch library Header file
  3. Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef __PEI_TBT_COMMON_INIT_LIB_H__
  7. #define __PEI_TBT_COMMON_INIT_LIB_H__
  8. #include <Library/PeiServicesLib.h>
  9. #include <Library/DebugLib.h>
  10. #include <Library/MemoryAllocationLib.h>
  11. #include <Library/BaseMemoryLib.h>
  12. #include <Library/GpioLib.h>
  13. #include <Library/TimerLib.h>
  14. #include <Library/IoLib.h>
  15. #include <Library/PciSegmentLib.h>
  16. #include <Library/PcdLib.h>
  17. #include <Library/TbtCommonLib.h>
  18. #include <IndustryStandard/Pci22.h>
  19. #include <Library/PchPmcLib.h>
  20. VOID
  21. TbtSetSxMode(
  22. IN BOOLEAN Type,
  23. IN UINT8 Bus,
  24. IN UINT8 Device,
  25. IN UINT8 Function,
  26. IN UINT8 TbtBootOn
  27. );
  28. VOID
  29. TbtClearVgaRegisters(
  30. IN UINTN Segment,
  31. IN UINTN Bus,
  32. IN UINTN Device,
  33. IN UINTN Function
  34. );
  35. #endif