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

Go to the source code of this file.

Data Structures

struct  EMU_THUNK_PPI
 

Macros

#define EMU_THUNK_PPI_GUID    { 0xB958B78C, 0x1D3E, 0xEE40, { 0x8B, 0xF4, 0xF0, 0x63, 0x2D, 0x06, 0x39, 0x16 } }
 

Typedefs

typedef EFI_STATUS(EFIAPI * EMU_PEI_AUTOSCAN) (IN UINTN Index, OUT EFI_PHYSICAL_ADDRESS *MemoryBase, OUT UINT64 *MemorySize)
 
typedef EFI_STATUS(EFIAPI * EMU_PEI_FD_INFORMATION) (IN UINTN Index, IN OUT EFI_PHYSICAL_ADDRESS *FdBase, IN OUT UINT64 *FdSize, IN OUT EFI_PHYSICAL_ADDRESS *FixUp)
 
typedef VOID *(EFIAPI * EMU_PEI_THUNK_INTERFACE) (VOID)
 
typedef EFI_STATUS(EFIAPI * EMU_PEI_LOAD_FILE) (VOID *Pe32Data, EFI_PHYSICAL_ADDRESS *ImageAddress, UINT64 *ImageSize, EFI_PHYSICAL_ADDRESS *EntryPoint)
 

Variables

EFI_GUID gEmuThunkPpiGuid
 

Detailed Description

Emulator Thunk to abstract OS services from pure EFI code

Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.
Copyright (c) 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file EmuThunk.h.

Macro Definition Documentation

◆ EMU_THUNK_PPI_GUID

#define EMU_THUNK_PPI_GUID    { 0xB958B78C, 0x1D3E, 0xEE40, { 0x8B, 0xF4, 0xF0, 0x63, 0x2D, 0x06, 0x39, 0x16 } }

Definition at line 13 of file EmuThunk.h.

Typedef Documentation

◆ EMU_PEI_AUTOSCAN

typedef EFI_STATUS(EFIAPI * EMU_PEI_AUTOSCAN) (IN UINTN Index, OUT EFI_PHYSICAL_ADDRESS *MemoryBase, OUT UINT64 *MemorySize)

Definition at line 33 of file EmuThunk.h.

◆ EMU_PEI_FD_INFORMATION

typedef EFI_STATUS(EFIAPI * EMU_PEI_FD_INFORMATION) (IN UINTN Index, IN OUT EFI_PHYSICAL_ADDRESS *FdBase, IN OUT UINT64 *FdSize, IN OUT EFI_PHYSICAL_ADDRESS *FixUp)

Definition at line 58 of file EmuThunk.h.

◆ EMU_PEI_LOAD_FILE

typedef EFI_STATUS(EFIAPI * EMU_PEI_LOAD_FILE) (VOID *Pe32Data, EFI_PHYSICAL_ADDRESS *ImageAddress, UINT64 *ImageSize, EFI_PHYSICAL_ADDRESS *EntryPoint)

Definition at line 98 of file EmuThunk.h.

◆ EMU_PEI_THUNK_INTERFACE

typedef VOID *(EFIAPI * EMU_PEI_THUNK_INTERFACE) (VOID)

Definition at line 76 of file EmuThunk.h.