1 /* 2 * Copyright (c) 2019-2023, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 #ifndef __TFM_ITS_REQ_MNGR_H__ 8 #define __TFM_ITS_REQ_MNGR_H__ 9 10 #include <stdint.h> 11 #include "config_tfm.h" 12 #include "psa/framework_feature.h" 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 #if PSA_FRAMEWORK_HAS_MM_IOVEC == 1 19 uint8_t *its_req_mngr_get_vec_base(void); 20 #else 21 size_t its_req_mngr_read(uint8_t *buf, size_t num_bytes); 22 void its_req_mngr_write(const uint8_t *buf, size_t num_bytes); 23 #endif 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif /* __TFM_ITS_REQ_MNGR_H__ */ 30 31