mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 01:37:40 +00:00

Some header files need to be shared between TF and host programs. For fiptool, two headers are copied to the tools/fiptool directory, but it looks clumsy. This commit introduces a new directory, include/tools_share, which collects headers that should be shared between TF and host programs. This will clarify the interface exposed to host tools. We should add new headers to this directory only when we really need to do so. For clarification, I inserted a blank line between headers from the include/ directory (#include <...>) and ones from a local directory (#include "..." ). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
25 lines
492 B
C
25 lines
492 B
C
/*
|
|
* Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __TBBR_CONFIG_H__
|
|
#define __TBBR_CONFIG_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <uuid.h>
|
|
|
|
/* TODO: Update this number as required */
|
|
#define TOC_HEADER_SERIAL_NUMBER 0x12345678
|
|
|
|
typedef struct toc_entry {
|
|
char *name;
|
|
uuid_t uuid;
|
|
char *cmdline_name;
|
|
} toc_entry_t;
|
|
|
|
extern toc_entry_t toc_entries[];
|
|
|
|
#endif /* __TBBR_CONFIG_H__ */
|