xlat_tables_v2: print xlat tables without recursion
authorDavid Pu <[email protected]>
Mon, 25 Feb 2019 18:52:41 +0000 (10:52 -0800)
committerDavid Pu <[email protected]>
Tue, 5 Mar 2019 17:21:39 +0000 (09:21 -0800)
commitc54c7fc358428daf69b4b118feb967afa60e998f
treef28d4ef0707a6a6463da2f034481f1a2198e54a2
parentdb8cac2d986a7e199343bd9385fa1221c50108c9
xlat_tables_v2: print xlat tables 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 <[email protected]>
lib/xlat_tables_v2/xlat_tables_utils.c