NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ote_error.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining
5  * a copy of this software and associated documentation files
6  * (the "Software"), to deal in the Software without restriction,
7  * including without limitation the rights to use, copy, modify, merge,
8  * publish, distribute, sublicense, and/or sell copies of the Software,
9  * and to permit persons to whom the Software is furnished to do so,
10  * subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be
13  * included in all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22  */
23 
41 #ifndef __OTE_ERROR_H
42 #define __OTE_ERROR_H
43 
45 typedef enum {
47  OTE_SUCCESS = 0x00000000U,
49  OTE_ERROR_NO_ERROR = 0x00000000U,
51  OTE_ERROR_GENERIC = 0xFFFF0000U,
53  OTE_ERROR_ACCESS_DENIED = 0xFFFF0001U,
55  OTE_ERROR_CANCEL = 0xFFFF0002U,
59  OTE_ERROR_EXCESS_DATA = 0xFFFF0004U,
61  OTE_ERROR_BAD_FORMAT = 0xFFFF0005U,
63  OTE_ERROR_BAD_PARAMETERS = 0xFFFF0006U,
65  OTE_ERROR_BAD_STATE = 0xFFFF0007U,
67  OTE_ERROR_ITEM_NOT_FOUND = 0xFFFF0008U,
71  OTE_ERROR_NOT_SUPPORTED = 0xFFFF000AU,
73  OTE_ERROR_NO_DATA = 0xFFFF000BU,
75  OTE_ERROR_OUT_OF_MEMORY = 0xFFFF000CU,
77  OTE_ERROR_BUSY = 0xFFFF000DU,
79  OTE_ERROR_COMMUNICATION = 0xFFFF000EU,
81  OTE_ERROR_SECURITY = 0xFFFF000FU,
83  OTE_ERROR_SHORT_BUFFER = 0xFFFF0010U,
85  OTE_ERROR_BLOCKED = 0xFFFF0011U,
87  OTE_ERROR_NO_ANSWER = 0xFFFF1003U,
88 } te_error_t;
89 
91 typedef enum {
102 
105 #endif
Indicates a security fault was detected.
Definition: ote_error.h:81
Indicates the system ran out of resources.
Definition: ote_error.h:75
Indicates the error originated from the underlying communications stack.
Definition: ote_error.h:96
Indicates the operation is invalid in its current state.
Definition: ote_error.h:65
Indicates the operation was successful.
Definition: ote_error.h:49
Indicates access privileges are insufficient.
Definition: ote_error.h:53
Indicates the error originated from the common OTE kernel code.
Definition: ote_error.h:98
Indicates the error originated from the OTE Client API.
Definition: ote_error.h:93
Indicates the operation was cancelled.
Definition: ote_error.h:55
Task administratively blocked, does not accept new sessions.
Definition: ote_error.h:85
Indicates that communication failed.
Definition: ote_error.h:79
Indicates an unspecified error occurred.
Definition: ote_error.h:51
Indicates the requested data item was not found.
Definition: ote_error.h:67
Indicates the operation was successful.
Definition: ote_error.h:47
Indicates the system is busy.
Definition: ote_error.h:77
Indicates the error originated from the Trusted Application code.
Definition: ote_error.h:100
Indicates the requested operation was not implemented.
Definition: ote_error.h:69
Indicates the data expected is missing.
Definition: ote_error.h:73
Indicates input parameters are invalid.
Definition: ote_error.h:63
Indicates data passed exceeds request.
Definition: ote_error.h:59
te_result_origin_t
Defines the origin of an error.
Definition: ote_error.h:91
Indicates input data is in an invalid format.
Definition: ote_error.h:61
Indicates the requested operation is not supported.
Definition: ote_error.h:71
Indicates the supplied buffer is too short.
Definition: ote_error.h:83
Indicates a concurrent accesses conflict.
Definition: ote_error.h:57
te_error_t
Defines Open Trusted Environment (OTE) error codes.
Definition: ote_error.h:45
Indicates no answer was received from the command target.
Definition: ote_error.h:87