Skip to content
Commit 66af7f72 authored by Javier Almansa Sobrino's avatar Javier Almansa Sobrino
Browse files

feat(xlat): make a distinction between transient and invalid descriptors



Currently, the xlat library treats transient and invalid descriptors
in the same way, printing the former as if they were invalid when
LOG_LEVEL is set to VERBOSE mode.

This patch introduces a new descriptor type, `TRANSIENT_DESC`, which,
whilst still an invalid descriptor, allows to differentiate it from
the rest of invalid descriptors so to print more accurate logs.

The patch uses one of the user available bits on the page/block
upper attributes area to mark a tte as transient, regardless of
whether the tte is valid or not.

This patch also fixes a couple of minor bugs, mostly related to
precondition evaluation on some of the xlat APIs.

Signed-off-by: Javier Almansa Sobrino's avatarJavier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I613117f76802de0d7c2c1c7546197fb4906f8ea2
parent d294b1b0
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