blob: 3a6cc53e142efea38d7ca2dbd247e2aa7a921305 [file] [log] [blame]
Kevin Peng62a87112020-07-07 15:07:46 +08001/*
2 * Copyright (c) 2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#include "psa_api_test.h"
9#include "tfm_nspm_api.h"
10#include "tfm_integ_test.h"
11
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__attribute__((noreturn))
19void psa_api_test(void *arg)
20{
21 UNUSED_VARIABLE(arg);
22
23#ifdef TFM_NS_CLIENT_IDENTIFICATION
24 tfm_nspm_register_client_id();
25#endif /* TFM_NS_CLIENT_IDENTIFICATION */
26
27 val_entry();
28
29 for (;;) {
30 }
31}