3 Copyright (c) 2017, Linaro. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __ANDROID_BOOTIMG_PROTOCOL_H__
16 #define __ANDROID_BOOTIMG_PROTOCOL_H__
19 // Protocol interface structure
21 typedef struct _ANDROID_BOOTIMG_PROTOCOL ANDROID_BOOTIMG_PROTOCOL
;
24 // Function Prototypes
28 (EFIAPI
*ANDROID_BOOTIMG_APPEND_KERNEL_ARGS
) (
35 (EFIAPI
*ANDROID_BOOTIMG_UPDATE_DTB
) (
36 IN EFI_PHYSICAL_ADDRESS OrigDtbBase
,
37 OUT EFI_PHYSICAL_ADDRESS
*NewDtbBase
40 struct _ANDROID_BOOTIMG_PROTOCOL
{
41 ANDROID_BOOTIMG_APPEND_KERNEL_ARGS AppendArgs
;
42 ANDROID_BOOTIMG_UPDATE_DTB UpdateDtb
;
45 extern EFI_GUID gAndroidBootImgProtocolGuid
;
47 #endif /* __ANDROID_BOOTIMG_PROTOCOL_H__ */