Merge "mem-buf: Replace *_TRUSTED_UI with *_TRUSTED_VM"

This commit is contained in:
qctecmdr 2020-04-08 03:42:49 -07:00 • committed by Gerrit - the friendly Code Review server
commit 9261aacbb1
6 changed files with 22 additions and 15 deletions

View file

@ -21,8 +21,8 @@ enum mem_buf_mem_type {
};
/* The mem-buf values that represent VMIDs for an ACL. */
#define MEM_BUF_VMID_HLOS 0
#define MEM_BUF_VMID_TRUSTED_UI 1
#define MEM_BUF_VMID_PRIMARY_VM 0
#define MEM_BUF_VMID_TRUSTED_VM 1
#define MEM_BUF_PERM_FLAG_READ (1U << 0)
#define MEM_BUF_PERM_FLAG_WRITE (1U << 1)

View file

@ -27,7 +27,7 @@ enum msm_ion_heap_types {
* Flags to be used when allocating from the secure heap for
* content protection
*/
#define ION_FLAG_CP_TRUSTED_UI ION_BIT(15)
#define ION_FLAG_CP_TRUSTED_VM ION_BIT(15)
/* ION_FLAG_POOL_FORCE_ALLOC uses ION_BIT(16) */
#define ION_FLAG_CP_TOUCH ION_BIT(17)
#define ION_FLAG_CP_BITSTREAM ION_BIT(18)