Skip to content

Commit

Permalink
[review] core: add support for paging of user TAs
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
jenswi-linaro committed Sep 28, 2016
1 parent cfe9ea6 commit 18709fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/arch/arm/mm/tee_pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ bool tee_pager_add_core_area(vaddr_t base, size_t size, uint32_t flags,

if ((flags & TEE_MATTR_PW) && (store || hashes))
panic("non-write pages must provide store and hashes");

if (!pager_core_pgt.tbl) {
pager_core_pgt.tbl = ti->table;
pgt_set_used_entries(&pager_core_pgt,
Expand Down Expand Up @@ -847,7 +847,7 @@ static struct tee_pager_pmem *tee_pager_get_page(struct tee_pager_area *area)
static bool pager_update_permissions(struct tee_pager_area *area,
struct abort_info *ai, bool *handled)
{
unsigned pgidx = area_va2idx(area, ai->va);
unsigned int pgidx = area_va2idx(area, ai->va);
uint32_t attr;
paddr_t pa;

Expand Down

0 comments on commit 18709fe

Please sign in to comment.