NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
GPLIB::Constants

Detailed Description

Constants for the GP Client Library.

Macros

#define TEEC_SUCCESS   0x00000000U
 Return value for Success. More...
 
#define TEEC_ERROR_GENERIC   0xFFFF0000U
 Return value for Generic error. More...
 
#define TEEC_ERROR_ACCESS_DENIED   0xFFFF0001U
 Retrun value for access Denied. More...
 
#define TEEC_ERROR_CANCEL   0xFFFF0002U
 Retrun value for cancel. More...
 
#define TEEC_ERROR_ACCESS_CONFLICT   0xFFFF0003U
 Retrun value for access conflict. More...
 
#define TEEC_ERROR_EXCESS_DATA   0xFFFF0004U
 
#define TEEC_ERROR_BAD_FORMAT   0xFFFF0005U
 
#define TEEC_ERROR_BAD_PARAMETERS   0xFFFF0006U
 Return value for bad parameters. More...
 
#define TEEC_ERROR_BAD_STATE   0xFFFF0007U
 Return value for Bad State. More...
 
#define TEEC_ERROR_ITEM_NOT_FOUND   0xFFFF0008U
 Retrun value for item not found. More...
 
#define TEEC_ERROR_NOT_IMPLEMENTED   0xFFFF0009U
 Return value for Feature not implimented. More...
 
#define TEEC_ERROR_NOT_SUPPORTED   0xFFFF000AU
 Return value for Feature not supported. More...
 
#define TEEC_ERROR_NO_DATA   0xFFFF000BU
 Return value for No Data. More...
 
#define TEEC_ERROR_OUT_OF_MEMORY   0xFFFF000CU
 Return value for Out of memory. More...
 
#define TEEC_ERROR_BUSY   0xFFFF000DU
 Retrun value for busy. More...
 
#define TEEC_ERROR_COMMUNICATION   0xFFFF000EU
 Return value for communication error. More...
 
#define TEEC_ERROR_SECURITY   0xFFFF000FU
 Return value for security. More...
 
#define TEEC_ERROR_SHORT_BUFFER   0xFFFF0010U
 Return value for supplied buffer too small. More...
 
#define TEEC_ERROR_BLOCKED   0x00000001U
 Return value for blocked. More...
 
#define TEEC_ERROR_NO_ANSWER   0x00000002U
 
#define TEEC_NONE   0x00000000U
 Represents No parameters. More...
 
#define TEEC_VALUE_INPUT   0x00000001U
 Represents an argument which is input of type value. More...
 
#define TEEC_VALUE_OUTPUT   0x00000003U
 Represents an argument which is output of type value. More...
 
#define TEEC_VALUE_INOUT   0x00000003U
 Represents an argument which is both input and output of type value. More...
 
#define TEEC_MEMREF_TEMP_INPUT   0x00000005U
 Represents an argument which is input of type buffer. More...
 
#define TEEC_MEMREF_TEMP_OUTPUT   0x00000007U
 Represents an argument which is output of type buffer. More...
 
#define TEEC_MEMREF_TEMP_INOUT   0x00000007U
 Represents an argument which is both input and output of type buffer. More...
 
#define TEEC_MEM_INPUT   0x00000001U
 Represents an argument which is input of type buffer. More...
 
#define TEEC_MEM_OUTPUT   0x00000002U
 Represents an argument which is output of type buffer. More...
 
#define TEEC_LOGIN_PUBLIC   0x00000000
 Session Login Methods:Public. More...
 
#define TEEC_LOGIN_USER   0x00000001
 Session Login Methods:User. More...
 
#define TEEC_LOGIN_GROUP   0x00000002
 Session Login Methods:Group. More...
 
#define TEEC_LOGIN_APPLICATION   0x00000004
 Session Login Methods:Application. More...
 
#define TEEC_LOGIN_USER_APPLICATION   0x00000005
 Session Login Methods:User Application. More...
 
#define TEEC_LOGIN_GROUP_APPLICATION   0x00000006
 Session Login Methods:Group Application. More...
 
#define TEEC_ORIGIN_API   0x00000001
 Error Origin from TOS driver. More...
 
#define TEEC_ORIGIN_COMMS   0x00000002
 Error Origin from communication layer. More...
 
#define TEEC_ORIGIN_TEE   0x00000003
 Error Origin from trusted execution environment. More...
 
#define TEEC_ORIGIN_TRUSTED_APP   0x00000004
 Error Origin from trusted application. More...
 

Macro Definition Documentation

◆ TEEC_ERROR_ACCESS_CONFLICT

#define TEEC_ERROR_ACCESS_CONFLICT   0xFFFF0003U

Retrun value for access conflict.

Definition at line 42 of file tee_client_constants.h.

◆ TEEC_ERROR_ACCESS_DENIED

#define TEEC_ERROR_ACCESS_DENIED   0xFFFF0001U

Retrun value for access Denied.

Definition at line 38 of file tee_client_constants.h.

◆ TEEC_ERROR_BAD_FORMAT

#define TEEC_ERROR_BAD_FORMAT   0xFFFF0005U

Definition at line 46 of file tee_client_constants.h.

◆ TEEC_ERROR_BAD_PARAMETERS

#define TEEC_ERROR_BAD_PARAMETERS   0xFFFF0006U

Return value for bad parameters.

Definition at line 48 of file tee_client_constants.h.

◆ TEEC_ERROR_BAD_STATE

#define TEEC_ERROR_BAD_STATE   0xFFFF0007U

Return value for Bad State.

Definition at line 50 of file tee_client_constants.h.

◆ TEEC_ERROR_BLOCKED

#define TEEC_ERROR_BLOCKED   0x00000001U

Return value for blocked.

Definition at line 70 of file tee_client_constants.h.

◆ TEEC_ERROR_BUSY

#define TEEC_ERROR_BUSY   0xFFFF000DU

Retrun value for busy.

Definition at line 62 of file tee_client_constants.h.

◆ TEEC_ERROR_CANCEL

#define TEEC_ERROR_CANCEL   0xFFFF0002U

Retrun value for cancel.

Definition at line 40 of file tee_client_constants.h.

◆ TEEC_ERROR_COMMUNICATION

#define TEEC_ERROR_COMMUNICATION   0xFFFF000EU

Return value for communication error.

Definition at line 64 of file tee_client_constants.h.

◆ TEEC_ERROR_EXCESS_DATA

#define TEEC_ERROR_EXCESS_DATA   0xFFFF0004U

Definition at line 44 of file tee_client_constants.h.

◆ TEEC_ERROR_GENERIC

#define TEEC_ERROR_GENERIC   0xFFFF0000U

Return value for Generic error.

Definition at line 36 of file tee_client_constants.h.

◆ TEEC_ERROR_ITEM_NOT_FOUND

#define TEEC_ERROR_ITEM_NOT_FOUND   0xFFFF0008U

Retrun value for item not found.

Definition at line 52 of file tee_client_constants.h.

◆ TEEC_ERROR_NO_ANSWER

#define TEEC_ERROR_NO_ANSWER   0x00000002U

Definition at line 72 of file tee_client_constants.h.

◆ TEEC_ERROR_NO_DATA

#define TEEC_ERROR_NO_DATA   0xFFFF000BU

Return value for No Data.

Definition at line 58 of file tee_client_constants.h.

◆ TEEC_ERROR_NOT_IMPLEMENTED

#define TEEC_ERROR_NOT_IMPLEMENTED   0xFFFF0009U

Return value for Feature not implimented.

Definition at line 54 of file tee_client_constants.h.

◆ TEEC_ERROR_NOT_SUPPORTED

#define TEEC_ERROR_NOT_SUPPORTED   0xFFFF000AU

Return value for Feature not supported.

Definition at line 56 of file tee_client_constants.h.

◆ TEEC_ERROR_OUT_OF_MEMORY

#define TEEC_ERROR_OUT_OF_MEMORY   0xFFFF000CU

Return value for Out of memory.

Definition at line 60 of file tee_client_constants.h.

◆ TEEC_ERROR_SECURITY

#define TEEC_ERROR_SECURITY   0xFFFF000FU

Return value for security.

Definition at line 66 of file tee_client_constants.h.

◆ TEEC_ERROR_SHORT_BUFFER

#define TEEC_ERROR_SHORT_BUFFER   0xFFFF0010U

Return value for supplied buffer too small.

Definition at line 68 of file tee_client_constants.h.

◆ TEEC_LOGIN_APPLICATION

#define TEEC_LOGIN_APPLICATION   0x00000004

Session Login Methods:Application.

Definition at line 103 of file tee_client_constants.h.

◆ TEEC_LOGIN_GROUP

#define TEEC_LOGIN_GROUP   0x00000002

Session Login Methods:Group.

Definition at line 101 of file tee_client_constants.h.

◆ TEEC_LOGIN_GROUP_APPLICATION

#define TEEC_LOGIN_GROUP_APPLICATION   0x00000006

Session Login Methods:Group Application.

Definition at line 107 of file tee_client_constants.h.

◆ TEEC_LOGIN_PUBLIC

#define TEEC_LOGIN_PUBLIC   0x00000000

Session Login Methods:Public.

Definition at line 97 of file tee_client_constants.h.

◆ TEEC_LOGIN_USER

#define TEEC_LOGIN_USER   0x00000001

Session Login Methods:User.

Definition at line 99 of file tee_client_constants.h.

◆ TEEC_LOGIN_USER_APPLICATION

#define TEEC_LOGIN_USER_APPLICATION   0x00000005

Session Login Methods:User Application.

Definition at line 105 of file tee_client_constants.h.

◆ TEEC_MEM_INPUT

#define TEEC_MEM_INPUT   0x00000001U

Represents an argument which is input of type buffer.

Definition at line 92 of file tee_client_constants.h.

◆ TEEC_MEM_OUTPUT

#define TEEC_MEM_OUTPUT   0x00000002U

Represents an argument which is output of type buffer.

Definition at line 94 of file tee_client_constants.h.

◆ TEEC_MEMREF_TEMP_INOUT

#define TEEC_MEMREF_TEMP_INOUT   0x00000007U

Represents an argument which is both input and output of type buffer.

Definition at line 89 of file tee_client_constants.h.

◆ TEEC_MEMREF_TEMP_INPUT

#define TEEC_MEMREF_TEMP_INPUT   0x00000005U

Represents an argument which is input of type buffer.

Definition at line 85 of file tee_client_constants.h.

◆ TEEC_MEMREF_TEMP_OUTPUT

#define TEEC_MEMREF_TEMP_OUTPUT   0x00000007U

Represents an argument which is output of type buffer.

Definition at line 87 of file tee_client_constants.h.

◆ TEEC_NONE

#define TEEC_NONE   0x00000000U

Represents No parameters.

Definition at line 77 of file tee_client_constants.h.

◆ TEEC_ORIGIN_API

#define TEEC_ORIGIN_API   0x00000001

Error Origin from TOS driver.

Definition at line 111 of file tee_client_constants.h.

◆ TEEC_ORIGIN_COMMS

#define TEEC_ORIGIN_COMMS   0x00000002

Error Origin from communication layer.

Definition at line 113 of file tee_client_constants.h.

◆ TEEC_ORIGIN_TEE

#define TEEC_ORIGIN_TEE   0x00000003

Error Origin from trusted execution environment.

Definition at line 115 of file tee_client_constants.h.

◆ TEEC_ORIGIN_TRUSTED_APP

#define TEEC_ORIGIN_TRUSTED_APP   0x00000004

Error Origin from trusted application.

Definition at line 117 of file tee_client_constants.h.

◆ TEEC_SUCCESS

#define TEEC_SUCCESS   0x00000000U

Return value for Success.

Definition at line 34 of file tee_client_constants.h.

◆ TEEC_VALUE_INOUT

#define TEEC_VALUE_INOUT   0x00000003U

Represents an argument which is both input and output of type value.

Definition at line 83 of file tee_client_constants.h.

◆ TEEC_VALUE_INPUT

#define TEEC_VALUE_INPUT   0x00000001U

Represents an argument which is input of type value.

Definition at line 79 of file tee_client_constants.h.

◆ TEEC_VALUE_OUTPUT

#define TEEC_VALUE_OUTPUT   0x00000003U

Represents an argument which is output of type value.

Definition at line 81 of file tee_client_constants.h.