arm-trusted-firmware/include/lib
Antonio Nino Diaz cc8b56322b Add `ENABLE_ASSERTIONS` build option
Add the new build option `ENABLE_ASSERTIONS` that controls whether or
not assert functions are compiled out. It defaults to 1 for debug builds
and to 0 for release builds.

Additionally, a following patch will be done to allow this build option
to hide auxiliary code used for the checks done in an `assert()`. This
code is is currently under the DEBUG build flag.

Assert messages are now only printed if LOG_LEVEL >= LOG_LEVEL_INFO,
which is the default for debug builds.

This patch also updates the User Guide.

Change-Id: I1401530b56bab25561bb0f274529f1d12c5263bc
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2017-04-19 16:00:53 +01:00
..
aarch32 Merge pull request #879 from Summer-ARM/sq/mt-support 2017-03-28 18:15:20 +01:00
aarch64 Tegra: Add support for fake system suspend 2017-04-13 14:18:42 -07:00
cpus Add workaround for ARM Cortex-A53 erratum 855873 2017-03-20 10:57:46 +00:00
el3_runtime Re-factor header files for easier PSCI library integration 2017-03-27 15:53:44 +01:00
libfdt libfdt: Replace v1.4.1 by v1.4.2 2017-01-16 17:26:04 +00:00
pmf PMF: Fixup PMF constants 2017-02-02 13:48:11 +00:00
psci Re-factor header files for easier PSCI library integration 2017-03-27 15:53:44 +01:00
stdlib Add `ENABLE_ASSERTIONS` build option 2017-04-19 16:00:53 +01:00
xlat_tables Add support to change xlat_tables to non-cacheable 2017-03-28 10:32:17 +01:00
bakery_lock.h Fix build error with optimizations disabled (-O0) 2016-04-14 16:24:03 +01:00
cassert.h Remove direct usage of __attribute__((foo)) 2016-01-14 10:55:17 -08:00
mmio.h Add mmio utility functions 2015-08-05 19:55:06 +08:00
runtime_instr.h Add two timestamps to measure PSCI cache flush overhead 2016-12-14 09:53:14 +00:00
semihosting.h Remove variables from .data section 2014-05-06 17:55:38 +01:00
smcc.h Resolve build errors flagged by GCC 6.2 2017-01-26 13:47:37 +00:00
spinlock.h Allow spin locks to be defined from assembly 2017-01-30 14:53:17 +00:00
utils.h Introduce MIN()/MAX() macros in utils.h 2017-03-31 13:58:51 +01:00