blob: 74f98ec443f5bc26a9600b9e17e4d75b8a722b62 [file] [log] [blame]
Anton Komlev95d34072023-08-23 15:59:26 +01001/*
Jamie Fox6d4ee162023-11-27 17:27:37 +00002 * Copyright (c) 2017-2023, Arm Limited. All rights reserved.
Anton Komlev95d34072023-08-23 15:59:26 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#include "test_app.h"
9#include "tfm_log.h"
Jamie Fox6d4ee162023-11-27 17:27:37 +000010#include "os_wrapper/thread.h"
Anton Komlev95d34072023-08-23 15:59:26 +010011
12/**
13 * \brief This symbol is the entry point provided by the PSA API compliance
14 * test libraries
15 */
16extern void val_entry(void);
17
18/**
19 * \brief Services test thread
20 *
21 */
22__attribute__((noreturn))
23void test_app(void *argument)
24{
25 UNUSED_VARIABLE(argument);
26
27 val_entry();
28
29 /* Output EOT char for test environments like FVP. */
30 LOG_MSG("\x04");
31
32 /* End of test */
Jamie Fox6d4ee162023-11-27 17:27:37 +000033 os_wrapper_thread_exit();
Anton Komlev95d34072023-08-23 15:59:26 +010034}