DisableBmeProtocol.h 828 B

123456789101112131415161718192021222324252627282930313233343536
  1. /** @file
  2. Definitions for DisableBmeProtocol
  3. Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _DISABLE_TBT_BME_PROTOCOL_H_
  7. #define _DISABLE_TBT_BME_PROTOCOL_H_
  8. typedef struct EFI_DISABLE_BME_PROTOCOL EFI_DISABLE_TBT_BME_PROTOCOL;
  9. /**
  10. This is for disable TBT BME bit under shell environment
  11. @param[in] Event - A pointer to the Event that triggered the callback.
  12. @param[in] Context - A pointer to private data registered with the callback function.
  13. **/
  14. typedef
  15. VOID
  16. (EFIAPI *DISABLE_BUS_MASTER_ENABLE) (
  17. IN EFI_EVENT Event,
  18. IN VOID *Context
  19. );
  20. struct EFI_DISABLE_BME_PROTOCOL {
  21. DISABLE_BUS_MASTER_ENABLE DisableBme;
  22. };
  23. extern EFI_GUID gDxeDisableTbtBmeProtocolGuid;
  24. #endif