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