Commit bceeab04 authored by Arve Hjønnevåg's avatar Arve Hjønnevåg Committed by Tri Vo
Browse files

ANDROID: trusty: Add share memory api and call it where needed



The current implementation only supports contiguous regions and uses the
physical address as the id.

includes: Remove trusty_call32_mem_buf

It is no longer used.

includes: Set dma_mask

Set dma_mask to 48 bits. This is the current limit of our encoded page
information. Allow sharing memory above 4GB with trusty on platforms
where the default dma_mask is 32 bits.

Bug: 128698138
Change-Id: Ib0801a0d67032bdf35cea4c27e27663bf68b2aa1
Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
Signed-off-by: default avatarTri Vo <trong@google.com>
parent 38d1fcae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment