Home
last modified time | relevance | path

Searched hist:"601 e3ed209eb508c9e46a5ef18a562613338dcc8" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/lib/cpus/aarch64/
H A Dcpu_helpers.S601e3ed209eb508c9e46a5ef18a562613338dcc8 Tue Oct 01 16:34:10 UTC 2019 Varun Wadekar <vwadekar@nvidia.com> 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>