]>
Commit | Line | Data |
---|---|---|
f6755908 OM |
1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r | |
4 | \r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __ANDROID_FASTBOOT_APP_H__\r | |
16 | #define __ANDROID_FASTBOOT_APP_H__\r | |
17 | \r | |
6e414300 | 18 | #include <Library/AndroidBootImgLib.h>\r |
f6755908 OM |
19 | #include <Library/BaseLib.h>\r |
20 | #include <Library/DebugLib.h>\r | |
21 | #include <Library/MemoryAllocationLib.h>\r | |
22 | \r | |
23 | #define BOOTIMG_KERNEL_ARGS_SIZE 512\r | |
24 | \r | |
25 | #define ANDROID_FASTBOOT_VERSION "0.4"\r | |
26 | \r | |
27 | EFI_STATUS\r | |
28 | BootAndroidBootImg (\r | |
29 | IN UINTN BufferSize,\r | |
30 | IN VOID *Buffer\r | |
31 | );\r | |
32 | \r | |
33 | EFI_STATUS\r | |
34 | ParseAndroidBootImg (\r | |
35 | IN VOID *BootImg,\r | |
36 | OUT VOID **Kernel,\r | |
37 | OUT UINTN *KernelSize,\r | |
38 | OUT VOID **Ramdisk,\r | |
39 | OUT UINTN *RamdiskSize,\r | |
40 | OUT CHAR8 *KernelArgs\r | |
41 | );\r | |
42 | \r | |
43 | #endif //ifdef __ANDROID_FASTBOOT_APP_H__\r |