]>
Commit | Line | Data |
---|---|---|
79e4f2a5 RN |
1 | /*++ @file\r |
2 | \r | |
3 | Copyright (c) 2011, Apple Inc. All rights reserved.<BR>\r | |
4 | This program and the accompanying materials\r | |
5 | are licensed and made available under the terms and conditions of the BSD License\r | |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | **/\r | |
13 | \r | |
14 | #ifndef __EMU_THUNK_LIB_H__\r | |
15 | #define __EMU_THUNK_LIB_H__\r | |
16 | \r | |
17 | #include <Protocol/EmuThunk.h>\r | |
18 | \r | |
19 | \r | |
20 | extern EMU_THUNK_PROTOCOL *gEmuThunk;\r | |
21 | \r | |
22 | \r | |
23 | /**\r | |
24 | Serach the EMU IO Thunk database for a matching EMU IO Thunk\r | |
25 | Protocol instance.\r | |
26 | \r | |
27 | @param Protocol Protocol to search for.\r | |
28 | @param Instance Instance of protocol to search for.\r | |
29 | \r | |
30 | @retval NULL Protocol and Instance not found.\r | |
31 | @retval other EMU IO Thunk protocol that matched.\r | |
32 | \r | |
33 | **/\r | |
34 | EMU_IO_THUNK_PROTOCOL *\r | |
35 | EFIAPI\r | |
36 | GetIoThunkInstance (\r | |
37 | IN EFI_GUID *Protocol,\r | |
38 | IN UINTN Instance\r | |
39 | );\r | |
40 | \r | |
41 | \r | |
42 | #endif\r |