We have a doorbell_test which panics.
In one of the psa_get() it gets to this panic in tfm_svcall_psa_get():
/* * It is a fatal error if the caller call psa_get() when no message has * been set. The caller must call this function after a RoT Service signal * is returned by psa_wait(). */ if (partition->signals == 0) { tfm_panic(); }
- The non secure test client: https://github.com/ARMmbed/mbed-os/blob/master/TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp#L197-L206
- The secure partition 1: https://github.com/ARMmbed/mbed-os/blob/master/TESTS/psa/spm_server/COMPONENT_SPE/server_tests_partition1.c
- The test logic which partition 1 executes: https://github.com/ARMmbed/mbed-os/blob/master/TESTS/psa/spm_server/COMPONENT_SPE/tests.c#L627-L686
- The secure partition2 which partition 1 calls: https://github.com/ARMmbed/mbed-os/blob/master/TESTS/psa/spm_server/COMPONENT_SPE/server_tests_partition2.c#L78-L107