apache / incubator-teaclave-trustzone-sdk

Teaclave TrustZone SDK enables safe, functional, and ergonomic development of trustlets.
https://teaclave.apache.org
Apache License 2.0
221 stars 62 forks source link

no-std: optee-utee: make panic_handler optional #147

Closed ivila closed 1 month ago

ivila commented 1 month ago

Make panic_handler optional for no-std TAs by adding "no_panic_handler" feature flag. It allows no-std TAs to have a custom panic handler. Relative issue is here: #145

This PR is a recreate one, the former PR was closed due to using the wrong branch(as metioned in #143 , the only maintenance branch should be main.

DemesneGH commented 1 month ago

LGTM. @b49020 any comments?

b49020 commented 1 month ago

With the patches squashed, feel free to add:

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>

DemesneGH commented 1 month ago

Ready to merge, please squash the commits into one and append the tags in commit message:

Signed-off-by: [YOUR NAME] <YOUR_EMAIL>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Yuan Zhuang <yuanz@apache.org>

Thanks!

ivila commented 1 month ago

Sorry for late reply, done.

DemesneGH commented 1 month ago

Merged, thanks!