Commit 73d5f1d8 authored by Gabor Kertesz's avatar Gabor Kertesz Committed by Kalesh Singh
Browse files

ANDROID: trusty: Make Trusty driver page size agnostic



The FW interface expects number of 4K pages when memory is shared.
However the driver and the FW share memory in contigous memory areas,
so converting the number of kernel size pages to Trusty FW size pages
makes the Trusty kernel driver page size agnostic.

Bug: 294914413
Bug: 265047549
Bug: 267220208
Change-Id: Ie0b88c9cb30a0a16ea67f8046c7d0def2886c93f
Signed-off-by: default avatarGabor Kertesz <gabor.kertesz@arm.com>
[ Kalesh Singh - Round up vds buffer allocation size to page boundary ]
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
parent a6aab423
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment