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>
1 parent 5ba32a7 commit 3ff6e401f9a43dd4f6a93c8af6e4cb83f93343b5
@David Pu David Pu authored on 22 Feb 2019
Showing 1 changed file
View
lib/xlat_tables_v2/xlat_tables_core.c