TianoCore EDK2 master
Loading...
Searching...
No Matches
ThunkProtocolList.c File Reference

Go to the source code of this file.

Data Structures

struct  EMU_IO_THUNK_PROTOCOL_DATA
 

Macros

#define EMU_IO_THUNK_PROTOCOL_DATA_SIGNATURE   SIGNATURE_32('E','m','u','T')
 

Functions

EFI_STATUS EFIAPI AddThunkProtocol (IN EMU_IO_THUNK_PROTOCOL *ThunkIo, IN CHAR16 *ConfigString, IN BOOLEAN EmuBusDriver)
 
EFI_STATUS EFIAPI GetNextThunkProtocol (IN BOOLEAN EmuBusDriver, OUT EMU_IO_THUNK_PROTOCOL **Instance OPTIONAL)
 

Variables

LIST_ENTRY mThunkList = INITIALIZE_LIST_HEAD_VARIABLE (mThunkList)
 

Detailed Description

Emulator Thunk to abstract OS services from pure EFI code

Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.
Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ThunkProtocolList.c.

Macro Definition Documentation

◆ EMU_IO_THUNK_PROTOCOL_DATA_SIGNATURE

#define EMU_IO_THUNK_PROTOCOL_DATA_SIGNATURE   SIGNATURE_32('E','m','u','T')

Definition at line 19 of file ThunkProtocolList.c.

Function Documentation

◆ AddThunkProtocol()

EFI_STATUS EFIAPI AddThunkProtocol ( IN EMU_IO_THUNK_PROTOCOL ThunkIo,
IN CHAR16 *  ConfigString,
IN BOOLEAN  EmuBusDriver 
)

Definition at line 32 of file ThunkProtocolList.c.

◆ GetNextThunkProtocol()

EFI_STATUS EFIAPI GetNextThunkProtocol ( IN BOOLEAN  EmuBusDriver,
OUT EMU_IO_THUNK_PROTOCOL **Instance  OPTIONAL 
)

Definition at line 99 of file ThunkProtocolList.c.

Variable Documentation

◆ mThunkList

LIST_ENTRY mThunkList = INITIALIZE_LIST_HEAD_VARIABLE (mThunkList)

Definition at line 28 of file ThunkProtocolList.c.