1 /* 2 * Copyright (c) 2022, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef __TEST_INTERRUPT_H__ 9 #define __TEST_INTERRUPT_H__ 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 #include <stdint.h> 16 17 #if defined(TEST_NS_FPU) || defined(TEST_S_FPU) 18 /* Change FP caller and callee registers. */ 19 void TFM_FPU_S_TEST_Handler(void); 20 #endif 21 22 #ifdef TEST_NS_FPU 23 /* 24 * Change FP caller and callee registers. For interrupt triggerred by secure 25 * thread, all FP registers should be checked whether cleared. 26 */ 27 void TFM_FPU_NS_TEST_Handler(void); 28 #endif 29 30 #ifdef __cplusplus 31 } 32 #endif 33 34 #endif /* __TEST_INTERRUPT_H__ */ 35