summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/Include
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-13 00:03:26 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-13 00:03:26 +0000
commitc4671a67d86ad8b6453fa36471cfeaf6b73cbcea (patch)
treec01f9ef31e53b8573adb9b9599f4aeb0aa498c1f /InOsEmuPkg/Include
parente6a6082acfb0984ef56a05e56f8b3d7ca068cbae (diff)
downloadedk2-platforms-c4671a67d86ad8b6453fa36471cfeaf6b73cbcea.tar.xz
Add MP support. Based on PcdEmuApCount APs (Application Processors) are created in the CpuRuntimeDxe driver. If PcdEmuApCount > 0 then the MpServices protocol is created on top of pthreads and the APs are availible to use vis the MpService protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11644 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/Include')
-rw-r--r--InOsEmuPkg/Include/Library/EmuThunkLib.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/InOsEmuPkg/Include/Library/EmuThunkLib.h b/InOsEmuPkg/Include/Library/EmuThunkLib.h
index d8f55b862e..9d69d4f2eb 100644
--- a/InOsEmuPkg/Include/Library/EmuThunkLib.h
+++ b/InOsEmuPkg/Include/Library/EmuThunkLib.h
@@ -19,4 +19,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
extern EMU_THUNK_PROTOCOL *gEmuThunk;
+
+/**
+ Serach the EMU IO Thunk database for a matching EMU IO Thunk
+ Protocol instance.
+
+ @param Protocol Protocol to search for.
+ @param Instance Instance of protocol to search for.
+
+ @retval NULL Protocol and Instance not found.
+ @retval other EMU IO Thunk protocol that matched.
+
+**/
+EMU_IO_THUNK_PROTOCOL *
+EFIAPI
+GetIoThunkInstance (
+ IN EFI_GUID *Protocol,
+ IN UINTN Instance
+ );
+
+
#endif