blob: 606e45d63cfc7dbbeddba82fa973465e20345450 [file] [log] [blame]
Imre Kis2cfb2b42021-12-15 19:15:42 +01001// 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
11void 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 */