2011-05-11 20:31:20 +02:00
|
|
|
/** @file
|
|
|
|
Emulator Thunk to abstract OS services from pure EFI code
|
|
|
|
|
|
|
|
Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR>
|
2011-06-28 18:50:26 +02:00
|
|
|
|
2019-04-04 01:03:44 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-05-11 20:31:20 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#include <Uefi.h>
|
|
|
|
#include <Protocol/EmuIoThunk.h>
|
|
|
|
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
AddThunkProtocol (
|
2011-06-28 18:50:26 +02:00
|
|
|
IN EMU_IO_THUNK_PROTOCOL *ThunkIo,
|
2011-05-11 20:31:20 +02:00
|
|
|
IN CHAR16 *ConfigString,
|
|
|
|
IN BOOLEAN EmuBusDriver
|
|
|
|
);
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
GetNextThunkProtocol (
|
|
|
|
IN BOOLEAN EmuBusDriver,
|
2011-06-28 18:50:26 +02:00
|
|
|
OUT EMU_IO_THUNK_PROTOCOL **Instance
|
2011-05-11 20:31:20 +02:00
|
|
|
);
|
2011-06-28 18:50:26 +02:00
|
|
|
|
2011-05-11 20:31:20 +02:00
|
|
|
|