From c4671a67d86ad8b6453fa36471cfeaf6b73cbcea Mon Sep 17 00:00:00 2001 From: andrewfish Date: Fri, 13 May 2011 00:03:26 +0000 Subject: 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 --- InOsEmuPkg/Include/Library/EmuThunkLib.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'InOsEmuPkg/Include') 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 -- cgit v1.2.3