From 9ba63f5a209bf39987b69c0527b533dfa6a9e26c Mon Sep 17 00:00:00 2001 From: Dongsun Lee Date: Mon, 22 May 2017 14:47:57 +0900 Subject: [PATCH] Add SharedMemoryFlags.Inout & Change error from NotImplementedException to NotSupportedException. Change-Id: I0ced0e8ea835467e0608e049fed03c4f80fa6fb7 Signed-off-by: Dongsun Lee --- Tizen.Security.TEEC/Interop/Interop.Errors.cs | 2 +- Tizen.Security.TEEC/Tizen.Security.TEEC/Libteec.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Tizen.Security.TEEC/Interop/Interop.Errors.cs b/Tizen.Security.TEEC/Interop/Interop.Errors.cs index b95a116..eb86422 100644 --- a/Tizen.Security.TEEC/Interop/Interop.Errors.cs +++ b/Tizen.Security.TEEC/Interop/Interop.Errors.cs @@ -25,7 +25,7 @@ internal static partial class Interop case (uint)LibteecError.None: return ; case (uint)LibteecError.NotImplemented: - throw new NotImplementedException(string.Format("[{0}] {1} error=0x{2}", + throw new NotSupportedException(string.Format("[{0}] {1} error=0x{2}", LogTag, msg, err.ToString("X"))); case (uint)LibteecError.CommunicationFailed: throw new Exception(string.Format("[{0}] {1} error=0x{2}", diff --git a/Tizen.Security.TEEC/Tizen.Security.TEEC/Libteec.cs b/Tizen.Security.TEEC/Tizen.Security.TEEC/Libteec.cs index 437e13e..9e3229a 100644 --- a/Tizen.Security.TEEC/Tizen.Security.TEEC/Libteec.cs +++ b/Tizen.Security.TEEC/Tizen.Security.TEEC/Libteec.cs @@ -93,6 +93,8 @@ namespace Tizen.Security.TEEC Input = 0x00000001, /// A flag indicates Shared Memory can be written. Output = 0x00000002, + /// A flag indicates Shared Memory can be read and written. + InOut = 0x00000003, } /// -- 2.7.4