TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/PeCoffLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/PeCoffImageEmulator.h>
Go to the source code of this file.
Data Structures | |
struct | PE_COMPAT_TYPE1 |
Functions | |
STATIC BOOLEAN EFIAPI | IsImageSupported (IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL *This, IN UINT16 ImageType, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL) |
STATIC EFI_IMAGE_ENTRY_POINT EFIAPI | GetCompatEntryPoint (IN EFI_PHYSICAL_ADDRESS ImageBase) |
STATIC EFI_STATUS EFIAPI | RegisterImage (IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS ImageBase, IN UINT64 ImageSize, IN OUT EFI_IMAGE_ENTRY_POINT *EntryPoint) |
STATIC EFI_STATUS EFIAPI | UnregisterImage (IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS ImageBase) |
EFI_STATUS EFIAPI | CompatImageLoaderDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL | mCompatLoaderPeCoffEmuProtocol |
PE/COFF emulator protocol implementation to start Linux kernel images from non-native firmware
Copyright (c) 2020, ARM Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CompatImageLoaderDxe.c.
EFI_STATUS EFIAPI CompatImageLoaderDxeEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Definition at line 137 of file CompatImageLoaderDxe.c.
STATIC EFI_IMAGE_ENTRY_POINT EFIAPI GetCompatEntryPoint | ( | IN EFI_PHYSICAL_ADDRESS | ImageBase | ) |
Definition at line 44 of file CompatImageLoaderDxe.c.
STATIC BOOLEAN EFIAPI IsImageSupported | ( | IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL * | This, |
IN UINT16 | ImageType, | ||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath | OPTIONAL | ||
) |
Definition at line 32 of file CompatImageLoaderDxe.c.
STATIC EFI_STATUS EFIAPI RegisterImage | ( | IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL * | This, |
IN EFI_PHYSICAL_ADDRESS | ImageBase, | ||
IN UINT64 | ImageSize, | ||
IN OUT EFI_IMAGE_ENTRY_POINT * | EntryPoint | ||
) |
Definition at line 98 of file CompatImageLoaderDxe.c.
STATIC EFI_STATUS EFIAPI UnregisterImage | ( | IN EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL * | This, |
IN EFI_PHYSICAL_ADDRESS | ImageBase | ||
) |
Definition at line 119 of file CompatImageLoaderDxe.c.
STATIC EDKII_PECOFF_IMAGE_EMULATOR_PROTOCOL mCompatLoaderPeCoffEmuProtocol |
Definition at line 127 of file CompatImageLoaderDxe.c.