3 Copyright (c) 2017, Linaro. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __ANDROID_BOOTIMG_PROTOCOL_H__
10 #define __ANDROID_BOOTIMG_PROTOCOL_H__
13 // Protocol interface structure
15 typedef struct _ANDROID_BOOTIMG_PROTOCOL ANDROID_BOOTIMG_PROTOCOL
;
18 // Function Prototypes
22 (EFIAPI
*ANDROID_BOOTIMG_APPEND_KERNEL_ARGS
) (
29 (EFIAPI
*ANDROID_BOOTIMG_UPDATE_DTB
) (
30 IN EFI_PHYSICAL_ADDRESS OrigDtbBase
,
31 OUT EFI_PHYSICAL_ADDRESS
*NewDtbBase
34 struct _ANDROID_BOOTIMG_PROTOCOL
{
35 ANDROID_BOOTIMG_APPEND_KERNEL_ARGS AppendArgs
;
36 ANDROID_BOOTIMG_UPDATE_DTB UpdateDtb
;
39 extern EFI_GUID gAndroidBootImgProtocolGuid
;
41 #endif /* __ANDROID_BOOTIMG_PROTOCOL_H__ */