mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
mem-buf: Replace *_TRUSTED_UI with *_TRUSTED_VM
Trusted UI is simply a use-case that runs within the trusted VM. The VM can have multiple usecases, and as such, tying a usecase name to the VMID identifiers for the VM is not appropriate. Synchronize with the rest of the kernel, which refers to the trusted VM as TRUSTED_VM. Change-Id: Ia54c3d4f36e8022f639164084a612b35e445209f Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
61f3d66986
commit
5a2d1abc8b
4 changed files with 6 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ enum mem_buf_mem_type {
|
|||
|
||||
/* The mem-buf values that represent VMIDs for an ACL. */
|
||||
#define MEM_BUF_VMID_PRIMARY_VM 0
|
||||
#define MEM_BUF_VMID_TRUSTED_UI 1
|
||||
#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