summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoberto Pereira <rpere@google.com>2018-03-15 15:05:57 -0700
committerfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-12 09:18:35 +0800
commit1939a7914ff48ebf3a02ea8ecb997b97e7a512a8 (patch)
tree51c0bdd4b9bda5b8f368cceda8812bf4de4d3135 /include
parent8b91ad3b1e3ce911c287e3e035de4cd920e75919 (diff)
ql-tipc: sysdeps.h: separate memory allocation from getting attributes
Obtaining the memory attributes can be done indepentently of the bootloader environment and is now done by the ipc layer. Updated u-boot example to reflect this. Change-Id: I8e649a1367ba02981419c43aac6e55b469dcf651
Diffstat (limited to 'include')
-rw-r--r--include/trusty/sysdeps.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/trusty/sysdeps.h b/include/trusty/sysdeps.h
index 08bc913230..6b50522762 100644
--- a/include/trusty/sysdeps.h
+++ b/include/trusty/sysdeps.h
@@ -110,11 +110,9 @@ void trusty_free(void *addr);
/*
* Allocate @count contiguous pages to be shared with secure side.
*
- * @mem_inf: Stores cache attributes
* Returns: vaddr of allocated memory
*/
-void *trusty_alloc_pages(struct ns_mem_page_info *mem_inf,
- unsigned count) TRUSTY_ATTR_WARN_UNUSED_RESULT;
+void *trusty_alloc_pages(unsigned count) TRUSTY_ATTR_WARN_UNUSED_RESULT;
/*
* Free @count pages at @vaddr allocated by trusty_alloc_pages
*/