Antonio de Angelis | f1c0851 | 2018-02-05 14:55:09 +0000 | [diff] [blame^] | 1 | /* |
2 | * Copyright (c) 2018, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | * | ||||
6 | */ | ||||
7 | |||||
8 | #include "tfm_log_defs.h" | ||||
9 | #include "tfm_ns_lock.h" | ||||
10 | |||||
11 | enum tfm_log_err tfm_log_retrieve(uint32_t size, | ||||
12 | uint8_t *buffer, | ||||
13 | uint32_t *log_size) | ||||
14 | { | ||||
15 | return tfm_ns_lock_svc_dispatch(SVC_TFM_LOG_RETRIEVE, | ||||
16 | (uint32_t)size, | ||||
17 | (uint32_t)buffer, | ||||
18 | (uint32_t)log_size, | ||||
19 | 0); | ||||
20 | } |