We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf5fcf commit 798e3c3Copy full SHA for 798e3c3
components/TARGET_PSA/inc/psa/service.h
@@ -16,15 +16,18 @@
16
*/
17
18
#if defined(TARGET_TFM)
19
+
20
#include "interface/include/psa_service.h"
-#define SPM_PANIC(format, ...) \
21
-{ \
22
- while(1){}; \
23
-}
+#define SPM_PANIC(format, ...) tfm_panic()
24
#elif defined(TARGET_MBED_SPM)
25
#include "TARGET_MBED_SPM/psa_defs.h"
26
#include "TARGET_MBED_SPM/COMPONENT_SPE/spm_server.h"
27
#include "TARGET_MBED_SPM/COMPONENT_SPE/spm_panic.h"
28
29
#else
30
31
#error "Compiling psa service header on non-secure target is not allowed"
32
33
#endif
0 commit comments