blob: db40bdfc71fe873b638e1bac51f361bf793b53f3 [file] [log] [blame]
Anton Komlev95d34072023-08-23 15:59:26 +01001/*
Jackson Cooper-Driver290b88f2025-07-09 09:18:13 +01002 * SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors
Anton Komlev95d34072023-08-23 15:59:26 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#include "test_app.h"
Jackson Cooper-Driver290b88f2025-07-09 09:18:13 +01009#include "tfm_tests_log_msg.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}