arm-trusted-firmware/bl31
Soby Mathew 7a24cba5c2 Replace build macro WARN_DEPRECATED with ERROR_DEPRECATED
This patch changes the build time behaviour when using deprecated API within
Trusted Firmware. Previously the use of deprecated APIs would only trigger a
build warning (which was always treated as a build error), when
WARN_DEPRECATED = 1. Now, the use of deprecated C declarations will always
trigger a build time warning. Whether this warning is treated as error or not
is determined by the build flag ERROR_DEPRECATED which is disabled by default.
When the build flag ERROR_DEPRECATED=1, the invocation of deprecated API or
inclusion of deprecated headers will result in a build error.

Also the deprecated context management helpers in context_mgmt.c are now
conditionally compiled depending on the value of ERROR_DEPRECATED flag
so that the APIs themselves do not result in a build error when the
ERROR_DEPRECATED flag is set.

NOTE: Build systems that use the macro WARN_DEPRECATED must migrate to
using ERROR_DEPRECATED, otherwise deprecated API usage will no longer
trigger a build error.

Change-Id: I843bceef6bde979af7e9b51dddf861035ec7965a
2015-11-24 11:15:41 +00:00
..
aarch64 Make generic code work in presence of system caches 2015-09-14 22:09:40 +01:00
bl31.ld.S Fix relocation of __PERCPU_BAKERY_LOCK_SIZE__ 2015-09-25 16:35:10 +01:00
bl31.mk PSCI: Switch to the new PSCI frameworks 2015-08-13 23:47:57 +01:00
bl31_main.c Introduce print_entry_point_info() function 2015-11-02 09:23:05 +00:00
context_mgmt.c Replace build macro WARN_DEPRECATED with ERROR_DEPRECATED 2015-11-24 11:15:41 +00:00
cpu_data_array.c Rework the crash reporting in BL3-1 to use less stack 2014-07-28 11:03:20 +01:00
interrupt_mgmt.c IMF: postpone SCR_EL3 update if context is not initialized 2015-11-05 16:36:55 +00:00
runtime_svc.c Enable type-checking of arguments passed to printf() et al. 2015-03-06 13:07:43 +00:00