arm-trusted-firmware/bl31
Juan Castillo d3280beb70 Rework incorrect use of assert() and panic() in codebase
Assert a valid security state using the macro sec_state_is_valid().
Replace assert() with panic() in those cases that might arise
because of runtime errors and not programming errors.
Replace panic() with assert() in those cases that might arise
because of programming errors.

Fixes ARM-software/tf-issues#96

Change-Id: I51e9ef0439fd5ff5e0edfef49050b69804bf14d5
2014-07-28 12:20:16 +01:00
..
aarch64 Allow FP register context to be optional at build time 2014-07-10 11:41:44 +01:00
bl31.ld.S fvp: Reuse BL1 and BL2 memory through image overlaying 2014-07-10 16:34:54 +01:00
bl31.mk Remove early_exceptions from BL3-1 2014-06-17 11:20:00 +01:00
bl31_main.c Rework incorrect use of assert() and panic() in codebase 2014-07-28 12:20:16 +01:00
context_mgmt.c Rework incorrect use of assert() and panic() in codebase 2014-07-28 12:20:16 +01:00
cpu_data_array.c Per-cpu data cache restructuring 2014-06-16 21:30:32 +01:00
interrupt_mgmt.c Rework incorrect use of assert() and panic() in codebase 2014-07-28 12:20:16 +01:00
runtime_svc.c Remove all checkpatch errors from codebase 2014-06-24 12:50:00 +01:00