mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 04:48:14 +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
28 lines
891 B
C
28 lines
891 B
C
/*
|
|
* Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef PLATFORM_SP_MIN_H
|
|
#define PLATFORM_SP_MIN_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <common/bl_common.h>
|
|
|
|
/*******************************************************************************
|
|
* Mandatory SP_MIN functions
|
|
******************************************************************************/
|
|
void sp_min_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|
u_register_t arg2, u_register_t arg3);
|
|
void sp_min_platform_setup(void);
|
|
void sp_min_plat_runtime_setup(void);
|
|
void sp_min_plat_arch_setup(void);
|
|
entry_point_info_t *sp_min_plat_get_bl33_ep_info(void);
|
|
void sp_min_warm_entrypoint(void);
|
|
|
|
/* Platforms that enable SP_MIN_WITH_SECURE_FIQ shall implement this api */
|
|
void sp_min_plat_fiq_handler(uint32_t id);
|
|
|
|
#endif /* PLATFORM_SP_MIN_H */
|