mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
Merge "mem-buf: Replace *_TRUSTED_UI with *_TRUSTED_VM"
This commit is contained in:
commit
9261aacbb1
6 changed files with 22 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue