When LPAE is activated, the dma_addr_t type is u64, but pointer is still 32bit on arm32 platform. 1. %pad is used to print dma_addr_t type in log. 2. The member paddr(dma_addr_t type) in struct shm is cast to unsigned long when it needs to be cast to a pointer. The cast is fine as the value of paddr in struct shm is always less than 4G. Change-Id: I1e2112796f657759dfa845258ea19558cb84c4ec Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| tee_context.c | ||
| tee_core.c | ||
| tee_core_priv.h | ||
| tee_debugfs.c | ||
| tee_debugfs.h | ||
| tee_kernel_api.c | ||
| tee_mutex_wait.c | ||
| tee_mutex_wait.h | ||
| tee_session.c | ||
| tee_shm.c | ||
| tee_shm.h | ||
| tee_supp_com.c | ||
| tee_supp_com.h | ||
| tee_sysfs.c | ||
| tee_sysfs.h | ||
| tee_wait_queue.c | ||
| tee_wait_queue.h | ||