Home
last modified time | relevance | path

Searched hist:ff207c8dcf1499963d322cb97040b37429f9498d (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/mm/
H A Dtee_pager.cff207c8dcf1499963d322cb97040b37429f9498d Fri Nov 22 13:01:57 UTC 2019 Jens Wiklander <jens.wiklander@linaro.org> core: pager: allocate pager_tables dynamically

With ASLR the number of pager_tables needed can differ from the number
of pager_tables needed in an non-relocated configuration. Depending on
the value of VCORE_START_VA the range VCORE_START_VA..+TEE_RAM_VA_SIZE
may cover an extra table compared to VCORE_START_VA being aligned to the
start of a table. To avoid multiple configurations always calculate the
number of tables needed and allocate pager_tables accordingly.

Reviewed-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>