/* * Copyright (c) 2020, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef __TFM_HAL_SP_LOGDEV_H__ #define __TFM_HAL_SP_LOGDEV_H__ #include #include /** * \brief HAL API for Secure Partition(SP) log system * * \param[in] str The string to output * \param[in] len Length of the string in bytes * * \retval >= 0 Number of chars output. * \retval < 0 TF-M HAL error code. */ int32_t tfm_hal_output_sp_log(const unsigned char *str, size_t len); #endif /* __TFM_HAL_SP_LOGDEV_H__ */