blob: de7a31b56adcfa71c291e03919c80ab8c48111af [file] [log] [blame]
Antonio de Angelisf1c08512018-02-05 14:55:09 +00001/*
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
11enum 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}