Loading [MathJax]/extensions/tex2jax.js
NVIDIA DRIVE OS Linux SDK API Reference
6.0.9 Release
Welcome
API Modules
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
i
n
o
p
r
s
t
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
Enumerations
Enumerator
l
n
Files
File List
Globals
All
a
e
m
n
o
p
s
Functions
n
p
Variables
Typedefs
m
n
p
Enumerations
n
Enumerator
n
Macros
a
e
m
n
o
p
s
More
Browser Issues
NVIDIA Legal
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
nverror.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2006 - 2007 NVIDIA Corporation. All Rights Reserved.
3
*
4
* NVIDIA Corporation and its licensors retain all intellectual property
5
* and proprietary rights in and to this software, related documentation
6
* and any modifications thereto. Any use, reproduction, disclosure or
7
* distribution of this software and related documentation without an express
8
* license agreement from NVIDIA Corporation is strictly prohibited.
9
*/
10
11
#ifndef INCLUDED_NVERROR_H
12
#define INCLUDED_NVERROR_H
13
#if (defined(__QNX__) && defined(NV_IS_SAFETY) && (NV_IS_SAFETY == 1))
14
#include "nverror_tegra_safety.h"
15
#else
16
32
typedef
enum
33
{
35
#define NVERROR(_name_, _value_, _desc_) NvError_##_name_ = (_value_),
36
/* header included for macro expansion of error codes */
37
#include "nverrval.h"
38
#undef NVERROR
39
40
// An alias for success
41
NvSuccess
= NvError_Success,
42
44
NvError_Force32
= 0x7FFFFFFF
45
}
NvError
;
46
55
#define NV_CHECK_ERROR(expr) \
56
do \
57
{ \
58
e = (expr); \
59
if (e != NvSuccess) \
60
return e; \
61
} while (0)
62
70
#define NV_CHECK_ERROR_CLEANUP(expr) \
71
do \
72
{ \
73
e = (expr); \
74
if (e != NvSuccess) \
75
goto fail; \
76
} while (0)
77
78
81
#endif
82
#endif // INCLUDED_NVERROR_H
NvError_Force32
@ NvError_Force32
Max value for nv-error.
Definition:
nverror.h:44
NvSuccess
@ NvSuccess
Definition:
nverror.h:41
NvError
NvError
The NvError enumeration contains ALL return / error codes.
Definition:
nverror.h:32
Subject to Change | For test and development only.
? 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Tue Dec 12 2023 20:05:59 | PR-10720-6.0
人人超碰97caoporen国产