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