mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
soc: qcom: secure_buffer: Add support for VMID_ADSP_HEAP and VMID_LPASS
Add support for mapping memory to/from VMID_ADSP_HEAP and VMID_LPASS. Change-Id: Ie479de719cbfbccb726b3284665573806958ac89 Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
6e625d330f
commit
c7c426ff7c
2 changed files with 6 additions and 0 deletions
|
|
@ -268,6 +268,8 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
|
|||
return "VMID_CP_SEC_DISPLAY";
|
||||
case VMID_CP_APP:
|
||||
return "VMID_CP_APP";
|
||||
case VMID_LPASS:
|
||||
return "VMID_LPASS";
|
||||
case VMID_WLAN:
|
||||
return "VMID_WLAN";
|
||||
case VMID_WLAN_CE:
|
||||
|
|
@ -280,6 +282,8 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
|
|||
return "VMID_CP_SPSS_SP_SHARED";
|
||||
case VMID_CP_SPSS_HLOS_SHARED:
|
||||
return "VMID_CP_SPSS_HLOS_SHARED";
|
||||
case VMID_ADSP_HEAP:
|
||||
return "VMID_ADSP_HEAP";
|
||||
case VMID_INVAL:
|
||||
return "VMID_INVAL";
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -26,12 +26,14 @@ enum vmid {
|
|||
VMID_MSS_NONMSA = 0x10,
|
||||
VMID_CP_SEC_DISPLAY = 0x11,
|
||||
VMID_CP_APP = 0x12,
|
||||
VMID_LPASS = 0x16,
|
||||
VMID_WLAN = 0x18,
|
||||
VMID_WLAN_CE = 0x19,
|
||||
VMID_CP_SPSS_SP = 0x1A,
|
||||
VMID_CP_CAMERA_PREVIEW = 0x1D,
|
||||
VMID_CP_SPSS_SP_SHARED = 0x22,
|
||||
VMID_CP_SPSS_HLOS_SHARED = 0x24,
|
||||
VMID_ADSP_HEAP = 0x25,
|
||||
VMID_CP_CDSP = 0x2A,
|
||||
VMID_LAST,
|
||||
VMID_INVAL = -1
|
||||
|
|
|
|||
Loading…
Reference in a new issue