EmuThunkLib.h 706 B

123456789101112131415161718192021222324252627282930313233
  1. /*++ @file
  2. Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #ifndef __EMU_THUNK_LIB_H__
  6. #define __EMU_THUNK_LIB_H__
  7. #include <Protocol/EmuThunk.h>
  8. extern EMU_THUNK_PROTOCOL *gEmuThunk;
  9. /**
  10. Serach the EMU IO Thunk database for a matching EMU IO Thunk
  11. Protocol instance.
  12. @param Protocol Protocol to search for.
  13. @param Instance Instance of protocol to search for.
  14. @retval NULL Protocol and Instance not found.
  15. @retval other EMU IO Thunk protocol that matched.
  16. **/
  17. EMU_IO_THUNK_PROTOCOL *
  18. EFIAPI
  19. GetIoThunkInstance (
  20. IN EFI_GUID *Protocol,
  21. IN UINTN Instance
  22. );
  23. #endif