]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/Include/Library/EmuThunkLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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
a550d468 13extern EMU_THUNK_PROTOCOL *gEmuThunk;\r
79e4f2a5
RN
14\r
15/**\r
16 Serach the EMU IO Thunk database for a matching EMU IO Thunk\r
17 Protocol instance.\r
18\r
19 @param Protocol Protocol to search for.\r
20 @param Instance Instance of protocol to search for.\r
21\r
22 @retval NULL Protocol and Instance not found.\r
23 @retval other EMU IO Thunk protocol that matched.\r
24\r
25**/\r
26EMU_IO_THUNK_PROTOCOL *\r
27EFIAPI\r
28GetIoThunkInstance (\r
29 IN EFI_GUID *Protocol,\r
30 IN UINTN Instance\r
31 );\r
32\r
79e4f2a5 33#endif\r