Skip to content
Commit 3ff6e401 authored by David Pu's avatar David Pu
Browse files

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: default avatarDavid Pu <dpu@nvidia.com>
parent 5ba32a76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment