Imre Kis | 2cfb2b4 | 2021-12-15 19:15:42 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: BSD-3-Clause |
2 | /* | ||||
3 | * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. | ||||
4 | */ | ||||
5 | |||||
6 | #include "trace.h" | ||||
7 | #include "ffa_internal_api.h" | ||||
8 | |||||
9 | #if TRACE_LEVEL >= TRACE_LEVEL_ERROR | ||||
10 | |||||
11 | void trace_puts(const char *str) | ||||
12 | { | ||||
13 | struct ffa_params resp; | ||||
14 | |||||
15 | ffa_svc(0xdeadbeef, (uintptr_t)str, 0, 0, 0, 0, 0, 0, &resp); | ||||
16 | } | ||||
17 | |||||
18 | #endif /* TRACE_LEVEL >= TRACE_LEVEL_ERROR */ |