Kevin Peng | 62a8711 | 2020-07-07 15:07:46 +0800 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 16 | extern void val_entry(void); |
| 17 | |
| 18 | __attribute__((noreturn)) |
| 19 | void 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 | } |