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

Go to the source code of this file.

Data Structures

struct  MEMORY_DEVICE_PATH
 

Functions

STATIC EFI_STATUS StartEfiApplication (IN EFI_HANDLE ParentImageHandle, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN UINTN LoadOptionsSize, IN VOID *LoadOptions)
 
EFI_STATUS BootAndroidBootImg (IN UINTN BufferSize, IN VOID *Buffer)
 

Variables

STATIC CONST MEMORY_DEVICE_PATH MemoryDevicePathTemplate
 

Detailed Description

Copyright (c) 2013-2015, ARM Ltd. All rights reserved.

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

Definition in file BootAndroidBootImg.c.

Function Documentation

◆ BootAndroidBootImg()

EFI_STATUS BootAndroidBootImg ( IN UINTN  BufferSize,
IN VOID *  Buffer 
)

Definition at line 120 of file BootAndroidBootImg.c.

◆ StartEfiApplication()

STATIC EFI_STATUS StartEfiApplication ( IN EFI_HANDLE  ParentImageHandle,
IN EFI_DEVICE_PATH_PROTOCOL DevicePath,
IN UINTN  LoadOptionsSize,
IN VOID *  LoadOptions 
)

Start an EFI Application from a Device Path

Parameters
ParentImageHandleHandle of the calling image
DevicePathLocation of the EFI Application
Return values
EFI_SUCCESSAll drivers have been connected
EFI_NOT_FOUNDThe Linux kernel Device Path has not been found
EFI_OUT_OF_RESOURCESThere is not enough resource memory to store the matching results.

Definition at line 60 of file BootAndroidBootImg.c.

Variable Documentation

◆ MemoryDevicePathTemplate

STATIC CONST MEMORY_DEVICE_PATH MemoryDevicePathTemplate
Initial value:
=
{
{
{
{
(UINT8)(sizeof (MEMMAP_DEVICE_PATH)),
(UINT8)((sizeof (MEMMAP_DEVICE_PATH)) >> 8),
},
},
0,
0
},
{
END_DEVICE_PATH_TYPE,
END_ENTIRE_DEVICE_PATH_SUBTYPE,
{ sizeof (EFI_DEVICE_PATH_PROTOCOL), 0 }
}
}
#define HARDWARE_DEVICE_PATH
Definition: DevicePath.h:68
#define HW_MEMMAP_DP
Definition: DevicePath.h:109

Definition at line 26 of file BootAndroidBootImg.c.