mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

- Removing platform dependencies from libc modules. - Replacing panicking with actual error handling. - Debug macros are included indirectly from assert.h. Removing "platform_def.h" from assert.h and adding "common/debug.h" where the macros are used. - Removing hack for fixing PLAT_LOG_LEVEL_ASSERT to 40. Instead removing assert with expression, as this does not provide additional information. Signed-off-by: Claus Pedersen <claustbp@google.com> Change-Id: Icc201ea7b63c1277e423c1cfd13fd6816c2bc568
33 lines
770 B
C
33 lines
770 B
C
/*
|
|
* Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef FCONF_ARM_SP_GETTER_H
|
|
#define FCONF_ARM_SP_GETTER_H
|
|
|
|
#include <common/tbbr/tbbr_img_def.h>
|
|
#include <lib/fconf/fconf.h>
|
|
#include <tools_share/uuid.h>
|
|
|
|
/* arm_sp getter */
|
|
#define arm__sp_getter(prop) arm_sp.prop
|
|
|
|
#define ARM_SP_MAX_SIZE U(0xb0000)
|
|
#define ARM_SP_OWNER_NAME_LEN U(8)
|
|
|
|
struct arm_sp_t {
|
|
unsigned int number_of_sp;
|
|
union uuid_helper_t uuids[MAX_SP_IDS];
|
|
uintptr_t load_addr[MAX_SP_IDS];
|
|
char owner[MAX_SP_IDS][ARM_SP_OWNER_NAME_LEN];
|
|
};
|
|
|
|
int fconf_populate_arm_sp(uintptr_t config);
|
|
|
|
extern struct arm_sp_t arm_sp;
|
|
|
|
extern bl_mem_params_node_t sp_mem_params_descs[MAX_SP_IDS];
|
|
|
|
#endif /* FCONF_ARM_SP_GETTER_H */
|