xlat_tables_v2: unmap region without recursion.
authorDavid Pu <dpu@nvidia.com>
Fri, 22 Feb 2019 10:36:20 +0000 (02:36 -0800)
committerDavid Pu <dpu@nvidia.com>
Tue, 5 Mar 2019 17:21:39 +0000 (09:21 -0800)
commitdb8cac2d986a7e199343bd9385fa1221c50108c9
tree8073acd8b60e840071e229c8d9c208e155f7a019
parent0ffe269215bdbfc76621f187f0fa4576f37e9791
xlat_tables_v2: unmap region without recursion.

This patch uses an array on stack to save parent xlat table information when
traversing the xlat tables. It keeps exactly same xlat table traversal
order compared to recursive version.

fixes arm-software/tf-issues#664

Signed-off-by: David Pu <dpu@nvidia.com>
lib/xlat_tables_v2/xlat_tables_core.c