commit | 3ff6e401f9a43dd4f6a93c8af6e4cb83f93343b5 | [log] [tgz] |
---|---|---|
author | David Pu <dpu@nvidia.com> | Fri Feb 22 02:15:57 2019 -0800 |
committer | David Pu <dpu@nvidia.com> | Thu Feb 28 09:58:16 2019 -0800 |
tree | 019ae976cf0d62d7283e0bd514e1006ad63cd816 | |
parent | 5ba32a7660051464ed1d56129adf2606db54b5e3 [diff] |
xlat_tables_v2: get unmap action type with helper function. This patch introduces helper function 'xlat_tables_unmap_region_action' to get the required action type from given arguments when unmapping the specified region. it reduces cyclomatic code complexity in xlat_tables_unmap_region function. Cyclomatic complexity calculated using 'Coverity' fixes arm-software/tf-issues#673 Signed-off-by: David Pu <dpu@nvidia.com>