[edk2,v1,1/1] ArmPkg/OpteeLib: Add OPTEE_SUCCESS return code

Message ID 1544513939-2953-1-git-send-email-sumit.garg@linaro.org
State New
Headers show
Series
  • [edk2,v1,1/1] ArmPkg/OpteeLib: Add OPTEE_SUCCESS return code
Related show

Commit Message

Sumit Garg Dec. 11, 2018, 7:38 a.m.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>

---
 ArmPkg/Include/Library/OpteeLib.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ard Biesheuvel Dec. 11, 2018, 8:05 a.m. | #1
On Tue, 11 Dec 2018 at 08:39, Sumit Garg <sumit.garg@linaro.org> wrote:
>

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Sumit Garg <sumit.garg@linaro.org>


Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Pushed as f4c8c1bbf169..f0574a194c1e

> ---

>  ArmPkg/Include/Library/OpteeLib.h | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/ArmPkg/Include/Library/OpteeLib.h b/ArmPkg/Include/Library/OpteeLib.h

> index 6884d5681831..a7b2ff1b6b57 100644

> --- a/ArmPkg/Include/Library/OpteeLib.h

> +++ b/ArmPkg/Include/Library/OpteeLib.h

> @@ -35,6 +35,7 @@

>

>  #define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MASK                0xff

>

> +#define OPTEE_SUCCESS                           0x00000000

>  #define OPTEE_ORIGIN_COMMUNICATION              0x00000002

>  #define OPTEE_ERROR_COMMUNICATION               0xFFFF000E

>

> --

> 2.7.4

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/ArmPkg/Include/Library/OpteeLib.h b/ArmPkg/Include/Library/OpteeLib.h
index 6884d5681831..a7b2ff1b6b57 100644
--- a/ArmPkg/Include/Library/OpteeLib.h
+++ b/ArmPkg/Include/Library/OpteeLib.h
@@ -35,6 +35,7 @@ 
 
 #define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MASK                0xff
 
+#define OPTEE_SUCCESS                           0x00000000
 #define OPTEE_ORIGIN_COMMUNICATION              0x00000002
 #define OPTEE_ERROR_COMMUNICATION               0xFFFF000E