DxeTbtPolicyLib.h 995 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /** @file
  2. Prototype of the DxeTbtPolicyLib library.
  3. Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _DXE_TBT_POLICY_LIB_H_
  7. #define _DXE_TBT_POLICY_LIB_H_
  8. /**
  9. Install TBT Policy.
  10. @param[in] ImageHandle Image handle of this driver.
  11. @retval EFI_SUCCESS The policy is installed.
  12. @retval EFI_OUT_OF_RESOURCES Insufficient resources to create buffer
  13. **/
  14. EFI_STATUS
  15. EFIAPI
  16. InstallTbtPolicy (
  17. IN EFI_HANDLE ImageHandle
  18. );
  19. /**
  20. Update Tbt Policy Callback.
  21. @param[in] Event A pointer to the Event that triggered the callback.
  22. @param[in] Context A pointer to private data registered with the callback function.
  23. **/
  24. VOID
  25. EFIAPI
  26. UpdateTbtPolicyCallback (
  27. VOID
  28. );
  29. /**
  30. Print DXE TBT Policy
  31. **/
  32. VOID
  33. TbtPrintDxePolicyConfig (
  34. VOID
  35. );
  36. #endif // _DXE_TBT_POLICY_LIB_H_