]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/Include/Library/EmuThunkLib.h
EmulatorPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmulatorPkg / Include / Library / EmuThunkLib.h
CommitLineData
79e4f2a5
RN
1/*++ @file\r
2\r
3Copyright (c) 2011, Apple Inc. All rights reserved.<BR>\r
e3ba31da 4SPDX-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
14extern 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
28EMU_IO_THUNK_PROTOCOL *\r
29EFIAPI\r
30GetIoThunkInstance (\r
31 IN EFI_GUID *Protocol,\r
32 IN UINTN Instance\r
33 );\r
34\r
35\r
36#endif\r