NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Detailed Description

Defines common error codes for Trusted Little Kernel (TLK).

Enumerations

enum  te_error_t {
  OTE_SUCCESS = 0x00000000U,
  OTE_ERROR_NO_ERROR = 0x00000000U,
  OTE_ERROR_GENERIC = 0xFFFF0000U,
  OTE_ERROR_ACCESS_DENIED = 0xFFFF0001U,
  OTE_ERROR_CANCEL = 0xFFFF0002U,
  OTE_ERROR_ACCESS_CONFLICT = 0xFFFF0003U,
  OTE_ERROR_EXCESS_DATA = 0xFFFF0004U,
  OTE_ERROR_BAD_FORMAT = 0xFFFF0005U,
  OTE_ERROR_BAD_PARAMETERS = 0xFFFF0006U,
  OTE_ERROR_BAD_STATE = 0xFFFF0007U,
  OTE_ERROR_ITEM_NOT_FOUND = 0xFFFF0008U,
  OTE_ERROR_NOT_IMPLEMENTED = 0xFFFF0009U,
  OTE_ERROR_NOT_SUPPORTED = 0xFFFF000AU,
  OTE_ERROR_NO_DATA = 0xFFFF000BU,
  OTE_ERROR_OUT_OF_MEMORY = 0xFFFF000CU,
  OTE_ERROR_BUSY = 0xFFFF000DU,
  OTE_ERROR_COMMUNICATION = 0xFFFF000EU,
  OTE_ERROR_SECURITY = 0xFFFF000FU,
  OTE_ERROR_SHORT_BUFFER = 0xFFFF0010U,
  OTE_ERROR_BLOCKED = 0xFFFF0011U,
  OTE_ERROR_NO_ANSWER = 0xFFFF1003U
}
 Defines Open Trusted Environment (OTE) error codes. More...
 
enum  te_result_origin_t {
  OTE_RESULT_ORIGIN_API = 1U,
  OTE_RESULT_ORIGIN_COMMS = 2U,
  OTE_RESULT_ORIGIN_KERNEL = 3U,
  OTE_RESULT_ORIGIN_TRUSTED_APP = 4U
}
 Defines the origin of an error. More...
 

Enumeration Type Documentation

enum te_error_t

Defines Open Trusted Environment (OTE) error codes.

Enumerator
OTE_SUCCESS 

Indicates the operation was successful.

OTE_ERROR_NO_ERROR 

Indicates the operation was successful.

OTE_ERROR_GENERIC 

Indicates an unspecified error occurred.

OTE_ERROR_ACCESS_DENIED 

Indicates access privileges are insufficient.

OTE_ERROR_CANCEL 

Indicates the operation was cancelled.

OTE_ERROR_ACCESS_CONFLICT 

Indicates a concurrent accesses conflict.

OTE_ERROR_EXCESS_DATA 

Indicates data passed exceeds request.

OTE_ERROR_BAD_FORMAT 

Indicates input data is in an invalid format.

OTE_ERROR_BAD_PARAMETERS 

Indicates input parameters are invalid.

OTE_ERROR_BAD_STATE 

Indicates the operation is invalid in its current state.

OTE_ERROR_ITEM_NOT_FOUND 

Indicates the requested data item was not found.

OTE_ERROR_NOT_IMPLEMENTED 

Indicates the requested operation was not implemented.

OTE_ERROR_NOT_SUPPORTED 

Indicates the requested operation is not supported.

OTE_ERROR_NO_DATA 

Indicates the data expected is missing.

OTE_ERROR_OUT_OF_MEMORY 

Indicates the system ran out of resources.

OTE_ERROR_BUSY 

Indicates the system is busy.

OTE_ERROR_COMMUNICATION 

Indicates that communication failed.

OTE_ERROR_SECURITY 

Indicates a security fault was detected.

OTE_ERROR_SHORT_BUFFER 

Indicates the supplied buffer is too short.

OTE_ERROR_BLOCKED 

Task administratively blocked, does not accept new sessions.

OTE_ERROR_NO_ANSWER 

Indicates no answer was received from the command target.

Definition at line 45 of file ote_error.h.

Defines the origin of an error.

Enumerator
OTE_RESULT_ORIGIN_API 

Indicates the error originated from the OTE Client API.

OTE_RESULT_ORIGIN_COMMS 

Indicates the error originated from the underlying communications stack.

OTE_RESULT_ORIGIN_KERNEL 

Indicates the error originated from the common OTE kernel code.

OTE_RESULT_ORIGIN_TRUSTED_APP 

Indicates the error originated from the Trusted Application code.

Definition at line 91 of file ote_error.h.