]>
Commit | Line | Data |
---|---|---|
79e4f2a5 RN |
1 | /*++ @file\r |
2 | \r | |
3 | Copyright (c) 2011, Apple Inc. All rights reserved.<BR>\r | |
e3ba31da | 4 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
79e4f2a5 RN |
5 | \r |
6 | **/\r | |
7 | \r | |
8 | #ifndef __EMU_THUNK_LIB_H__\r | |
9 | #define __EMU_THUNK_LIB_H__\r | |
10 | \r | |
11 | #include <Protocol/EmuThunk.h>\r | |
12 | \r | |
13 | \r | |
14 | extern EMU_THUNK_PROTOCOL *gEmuThunk;\r | |
15 | \r | |
16 | \r | |
17 | /**\r | |
18 | Serach the EMU IO Thunk database for a matching EMU IO Thunk\r | |
19 | Protocol instance.\r | |
20 | \r | |
21 | @param Protocol Protocol to search for.\r | |
22 | @param Instance Instance of protocol to search for.\r | |
23 | \r | |
24 | @retval NULL Protocol and Instance not found.\r | |
25 | @retval other EMU IO Thunk protocol that matched.\r | |
26 | \r | |
27 | **/\r | |
28 | EMU_IO_THUNK_PROTOCOL *\r | |
29 | EFIAPI\r | |
30 | GetIoThunkInstance (\r | |
31 | IN EFI_GUID *Protocol,\r | |
32 | IN UINTN Instance\r | |
33 | );\r | |
34 | \r | |
35 | \r | |
36 | #endif\r |