]> git.proxmox.com Git - mirror_edk2.git/blame - InOsEmuPkg/Include/Library/EmuThunkLib.h
Add MP support. Based on PcdEmuApCount APs (Application Processors) are created in...
[mirror_edk2.git] / InOsEmuPkg / Include / Library / EmuThunkLib.h
CommitLineData
949f388f 1/*++ @file
2
3Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
4This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12**/
13
14#ifndef __EMU_THUNK_LIB_H__
15#define __EMU_THUNK_LIB_H__
16
17#include <Protocol/EmuThunk.h>
18
19
20extern EMU_THUNK_PROTOCOL *gEmuThunk;
21
c4671a67 22
23/**
24 Serach the EMU IO Thunk database for a matching EMU IO Thunk
25 Protocol instance.
26
27 @param Protocol Protocol to search for.
28 @param Instance Instance of protocol to search for.
29
30 @retval NULL Protocol and Instance not found.
31 @retval other EMU IO Thunk protocol that matched.
32
33**/
34EMU_IO_THUNK_PROTOCOL *
35EFIAPI
36GetIoThunkInstance (
37 IN EFI_GUID *Protocol,
38 IN UINTN Instance
39 );
40
41
949f388f 42#endif