Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfa7cc87 authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan Committed by Gerrit - the friendly Code Review server
Browse files

msm: secure_buffer: Add SPSS_SP_SHARED vmid



Add support for SPSS_SP_SHARED vmid. This vmid is equivalent
to TZ VM, which can be used for sharing memory with TZ with
the assign call.

Change-Id: I10b98820796e8bab7b8275f5ddf44e8814dc0fb0
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
[lmark@codeaurora.org: don't include ION changes as these
 will be applied separately]
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent c8966533
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -414,6 +414,8 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
		return "VMID_CP_CAMERA_PREVIEW";
	case VMID_CP_SPSS_SP:
		return "VMID_CP_SPSS_SP";
	case VMID_CP_SPSS_SP_SHARED:
		return "VMID_CP_SPSS_SP_SHARED";
	case VMID_INVAL:
		return "VMID_INVAL";
	default:
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ enum vmid {
	VMID_WLAN_CE = 0x19,
	VMID_CP_SPSS_SP = 0x1A,
	VMID_CP_CAMERA_PREVIEW = 0x1D,
	VMID_CP_SPSS_SP_SHARED = 0x22,
	VMID_LAST,
	VMID_INVAL = -1
};