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