TianoCore EDK2 master
Loading...
Searching...
No Matches
EmuThread.h File Reference

Go to the source code of this file.

Data Structures

struct  _EMU_THREAD_THUNK_PROTOCOL
 

Typedefs

typedef struct _EMU_THREAD_THUNK_PROTOCOL EMU_THREAD_THUNK_PROTOCOL
 
typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_LOCK) (IN VOID *Mutex)
 
typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_UNLOCK) (IN VOID *Mutex)
 
typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_TRY_LOCK) (IN VOID *Mutex)
 
typedef VOID *(EFIAPI * THREAD_THUNK_MUTEX_INIT) (IN VOID)
 
typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_DISTROY) (IN VOID *Mutex)
 
typedef VOID *(EFIAPI * THREAD_THUNK_THREAD_ENTRY) (IN VOID *Context)
 
typedef UINTN(EFIAPI * THREAD_THUNK_CREATE_THREAD) (IN VOID *Thread, IN VOID *Attribute, IN THREAD_THUNK_THREAD_ENTRY Start, IN VOID *Context)
 
typedef VOID(EFIAPI * THREAD_THUNK_EXIT_THREAD) (IN VOID *ValuePtr)
 
typedef UINTN(EFIAPI * THREAD_THUNK_SELF) (VOID)
 

Variables

EFI_GUID gEmuThreadThunkProtocolGuid
 

Detailed Description

Emulator Thunk to abstract OS services from pure EFI code

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

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

Definition in file EmuThread.h.

Typedef Documentation

◆ EMU_THREAD_THUNK_PROTOCOL

Definition at line 14 of file EmuThread.h.

◆ THREAD_THUNK_CREATE_THREAD

typedef UINTN(EFIAPI * THREAD_THUNK_CREATE_THREAD) (IN VOID *Thread, IN VOID *Attribute, IN THREAD_THUNK_THREAD_ENTRY Start, IN VOID *Context)

Definition at line 53 of file EmuThread.h.

◆ THREAD_THUNK_EXIT_THREAD

typedef VOID(EFIAPI * THREAD_THUNK_EXIT_THREAD) (IN VOID *ValuePtr)

Definition at line 62 of file EmuThread.h.

◆ THREAD_THUNK_MUTEX_DISTROY

typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_DISTROY) (IN VOID *Mutex)

Definition at line 41 of file EmuThread.h.

◆ THREAD_THUNK_MUTEX_INIT

typedef VOID *(EFIAPI * THREAD_THUNK_MUTEX_INIT) (IN VOID)

Definition at line 35 of file EmuThread.h.

◆ THREAD_THUNK_MUTEX_LOCK

typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_LOCK) (IN VOID *Mutex)

Definition at line 17 of file EmuThread.h.

◆ THREAD_THUNK_MUTEX_TRY_LOCK

typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_TRY_LOCK) (IN VOID *Mutex)

Definition at line 29 of file EmuThread.h.

◆ THREAD_THUNK_MUTEX_UNLOCK

typedef UINTN(EFIAPI * THREAD_THUNK_MUTEX_UNLOCK) (IN VOID *Mutex)

Definition at line 23 of file EmuThread.h.

◆ THREAD_THUNK_SELF

typedef UINTN(EFIAPI * THREAD_THUNK_SELF) (VOID)

Definition at line 68 of file EmuThread.h.

◆ THREAD_THUNK_THREAD_ENTRY

typedef VOID *(EFIAPI * THREAD_THUNK_THREAD_ENTRY) (IN VOID *Context)

Definition at line 47 of file EmuThread.h.