]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.h
BaseTools: Library hashing fix and optimization for --hash feature
[mirror_edk2.git] / EmbeddedPkg / Application / AndroidFastboot / AndroidFastbootApp.h
CommitLineData
f6755908
OM
1/** @file\r
2\r
3 Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
4\r
878b807a 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
f6755908
OM
6\r
7**/\r
8\r
9#ifndef __ANDROID_FASTBOOT_APP_H__\r
10#define __ANDROID_FASTBOOT_APP_H__\r
11\r
6e414300 12#include <Library/AndroidBootImgLib.h>\r
f6755908
OM
13#include <Library/BaseLib.h>\r
14#include <Library/DebugLib.h>\r
15#include <Library/MemoryAllocationLib.h>\r
16\r
17#define BOOTIMG_KERNEL_ARGS_SIZE 512\r
18\r
19#define ANDROID_FASTBOOT_VERSION "0.4"\r
20\r
21EFI_STATUS\r
22BootAndroidBootImg (\r
23 IN UINTN BufferSize,\r
24 IN VOID *Buffer\r
25 );\r
26\r
27EFI_STATUS\r
28ParseAndroidBootImg (\r
29 IN VOID *BootImg,\r
30 OUT VOID **Kernel,\r
31 OUT UINTN *KernelSize,\r
32 OUT VOID **Ramdisk,\r
33 OUT UINTN *RamdiskSize,\r
34 OUT CHAR8 *KernelArgs\r
35 );\r
36\r
37#endif //ifdef __ANDROID_FASTBOOT_APP_H__\r