arm-trusted-firmware/lib/cpus/aarch64
Varun Wadekar 601e3ed209 lib: cpus: sanity check pointers before use
The cpu_ops structure contains a lot of function pointers. It
is a good idea to verify that the function pointer is not NULL
before executing it.

This patch sanity checks each pointer before use to prevent any
unforeseen crashes. These checks have been enabled for debug
builds only.

Change-Id: Ib208331c20e60f0c7c582a20eb3d8cc40fb99d21
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2020-08-24 21:26:48 +00:00
..
aem_generic.S FVP_Base_AEMv8A platform: Fix cache maintenance operations 2019-08-16 11:30:37 +00:00
cortex_a35.S Cortex-A35: Implement workaround for errata 855472 2019-04-17 13:46:43 +01:00
cortex_a53.S lib/cpus: Report AT speculative erratum workaround 2020-08-18 10:49:27 +01:00
cortex_a55.S lib/cpus: Report AT speculative erratum workaround 2020-08-18 10:49:27 +01:00
cortex_a57.S lib/cpus: Report AT speculative erratum workaround 2020-08-18 10:49:27 +01:00
cortex_a65.S Introducing support for Cortex-A65 2019-10-02 18:12:28 +02:00
cortex_a65ae.S Introducing support for Cortex-A65AE 2019-10-03 15:38:31 +02:00
cortex_a72.S lib/cpus: Report AT speculative erratum workaround 2020-08-18 10:49:27 +01:00
cortex_a73.S Cortex-A73: Implement workaround for errata 852427 2019-02-28 12:01:13 +00:00
cortex_a75.S Add compile-time errors for HW_ASSISTED_COHERENCY flag 2019-05-03 14:23:55 +01:00
cortex_a75_pubsub.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
cortex_a76.S lib/cpus: Report AT speculative erratum workaround 2020-08-18 10:49:27 +01:00
cortex_a76ae.S Apply compile-time check for AArch64-only cores 2019-06-04 14:08:55 +01:00
cortex_a77.S Workaround for Cortex A77 erratum 1800714 2020-06-25 14:50:58 +00:00
cortex_a78.S Rename Cortex-Hercules to Cortex-A78 2020-06-01 17:33:22 -05:00
cortex_hercules_ae.S Rename Cortex-Hercules to Cortex-A78 2020-06-01 17:33:22 -05:00
cortex_klein.S Add CPULib for Klein Core 2020-02-18 08:57:32 -06:00
cortex_matterhorn.S Add Matterhorn CPU lib 2020-02-18 09:00:04 -06:00
cpu_helpers.S lib: cpus: sanity check pointers before use 2020-08-24 21:26:48 +00:00
cpuamu.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
cpuamu_helpers.S Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
denver.S lib: cpus: denver: add some MIDR values 2020-08-08 18:53:23 -07:00
dsu_helpers.S DSU: Implement workaround for errata 798953 2019-04-17 13:46:43 +01:00
neoverse_e1.S DSU: Apply erratum 936184 for Neoverse N1/E1 2019-06-11 14:01:32 +01:00
neoverse_n1.S Revert workaround for Neoverse N1 erratum 1800710 2020-07-23 13:05:45 -05:00
neoverse_n1_pubsub.c Rename Cortex-Ares to Neoverse N1 2019-02-19 13:50:07 +00:00
neoverse_zeus.S Zeus: apply the MSR SSBS instruction 2019-09-11 14:37:42 +01:00
wa_cve_2017_5715_bpiall.S Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
wa_cve_2017_5715_mmu.S Prevent speculative execution past ERET 2020-01-22 21:42:51 +00:00