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

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

msm: secure_buffer: Add SPSS_HLOS_SHARED vmid



The SPSS_HLOS_SHARED vmid can be used along with SPSS VM
if an ION buffer is to be shared between SPSS and HLOS.

Change-Id: I14407343a924ab652b20ba5d93e72114473c7f8a
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 cfa7cc87
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -416,6 +416,8 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
		return "VMID_CP_SPSS_SP";
	case VMID_CP_SPSS_SP_SHARED:
		return "VMID_CP_SPSS_SP_SHARED";
	case VMID_CP_SPSS_HLOS_SHARED:
		return "VMID_CP_SPSS_HLOS_SHARED";
	case VMID_INVAL:
		return "VMID_INVAL";
	default:
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ enum vmid {
	VMID_CP_SPSS_SP = 0x1A,
	VMID_CP_CAMERA_PREVIEW = 0x1D,
	VMID_CP_SPSS_SP_SHARED = 0x22,
	VMID_CP_SPSS_HLOS_SHARED = 0x24,
	VMID_LAST,
	VMID_INVAL = -1
};