]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/Include/Library/EmuThunkLib.h
BaseTools/CommonLib: add definition of MAX_UINT32
[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
4This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT 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
20extern 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
34EMU_IO_THUNK_PROTOCOL *\r
35EFIAPI\r
36GetIoThunkInstance (\r
37 IN EFI_GUID *Protocol,\r
38 IN UINTN Instance\r
39 );\r
40\r
41\r
42#endif\r