arm-trusted-firmware/include/bl31
Arvind Ram Prakash c42d0d8754 fix(misra): fix MISRA defects
This patch resolves the MISRA issues reported in mailing list.
It addresses the following MISRA Rules violations - Rule 15.7 and
Rule 2.4.

* As per Rule 15.7, All if.. else if constructs should be terminated
with an else statement and hence the conditional block
has been changed to switch..case. Updated get_el_str() to include
all EL cases.

* As per Rule 2.4, A project should not contain unused tag declarations,
hence intr_type_desc tag is removed.

* bl31_lib_init is only used in translation unit and hence it's
declaration is removed from bl31.h and the definition is made static to
maintain visibility.

Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
Change-Id: Ica1d3041566baf51befcad5fd3714189117ba193
2024-03-07 09:38:27 -06:00
..
bl31.h fix(misra): fix MISRA defects 2024-03-07 09:38:27 -06:00
ea_handle.h feat(el3-runtime): modify vector entry paths 2023-11-01 11:11:21 +00:00
ehf.h fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
interrupt_mgmt.h fix(ehf): restrict secure world FIQ routing model to SPM_MM 2024-02-01 13:15:43 +00:00
sync_handle.h feat(el3-runtime): introduce UNDEF injection to lower EL 2024-02-28 12:47:29 +00:00