RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / cfe / cfe / include / cfe_error.h
blob9e71f847181cbde5a1216b807a00acd6d3744b75
1 /* *********************************************************************
2 * Broadcom Common Firmware Environment (CFE)
3 *
4 * Error codes File: cfe_error.h
5 *
6 * CFE's global error code list is here.
7 *
8 * Author: Mitch Lichtenberg (mpl@broadcom.com)
9 *
10 *********************************************************************
12 * Copyright 2000,2001,2002,2003
13 * Broadcom Corporation. All rights reserved.
15 * This software is furnished under license and may be used and
16 * copied only in accordance with the following terms and
17 * conditions. Subject to these conditions, you may download,
18 * copy, install, use, modify and distribute modified or unmodified
19 * copies of this software in source and/or binary form. No title
20 * or ownership is transferred hereby.
22 * 1) Any source code used, modified or distributed must reproduce
23 * and retain this copyright notice and list of conditions
24 * as they appear in the source file.
26 * 2) No right is granted to use any trade name, trademark, or
27 * logo of Broadcom Corporation. The "Broadcom Corporation"
28 * name may not be used to endorse or promote products derived
29 * from this software without the prior written permission of
30 * Broadcom Corporation.
32 * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR
33 * IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED
34 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
35 * PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT
36 * SHALL BROADCOM BE LIABLE FOR ANY DAMAGES WHATSOEVER, AND IN
37 * PARTICULAR, BROADCOM SHALL NOT BE LIABLE FOR DIRECT, INDIRECT,
38 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
39 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
40 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
41 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
42 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
43 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE), EVEN IF ADVISED OF
44 * THE POSSIBILITY OF SUCH DAMAGE.
45 ********************************************************************* */
50 #define CFE_OK 0
51 #define CFE_ERR -1 /* generic error */
52 #define CFE_ERR_INV_COMMAND -2
53 #define CFE_ERR_EOF -3
54 #define CFE_ERR_IOERR -4
55 #define CFE_ERR_NOMEM -5
56 #define CFE_ERR_DEVNOTFOUND -6
57 #define CFE_ERR_DEVOPEN -7
58 #define CFE_ERR_INV_PARAM -8
59 #define CFE_ERR_ENVNOTFOUND -9
60 #define CFE_ERR_ENVREADONLY -10
62 #define CFE_ERR_NOTELF -11
63 #define CFE_ERR_NOT32BIT -12
64 #define CFE_ERR_WRONGENDIAN -13
65 #define CFE_ERR_BADELFVERS -14
66 #define CFE_ERR_NOTMIPS -15
67 #define CFE_ERR_BADELFFMT -16
68 #define CFE_ERR_BADADDR -17
70 #define CFE_ERR_FILENOTFOUND -18
71 #define CFE_ERR_UNSUPPORTED -19
73 #define CFE_ERR_HOSTUNKNOWN -20
75 #define CFE_ERR_TIMEOUT -21
77 #define CFE_ERR_PROTOCOLERR -22
79 #define CFE_ERR_NETDOWN -23
80 #define CFE_ERR_NONAMESERVER -24
82 #define CFE_ERR_NOHANDLES -25
83 #define CFE_ERR_ALREADYBOUND -26
85 #define CFE_ERR_CANNOTSET -27
86 #define CFE_ERR_NOMORE -28
87 #define CFE_ERR_BADFILESYS -29
88 #define CFE_ERR_FSNOTAVAIL -30
90 #define CFE_ERR_INVBOOTBLOCK -31
91 #define CFE_ERR_WRONGDEVTYPE -32
92 #define CFE_ERR_BBCHECKSUM -33
93 #define CFE_ERR_BOOTPROGCHKSUM -34
95 #define CFE_ERR_LDRNOTAVAIL -35
97 #define CFE_ERR_NOTREADY -36
99 #define CFE_ERR_GETMEM -37
100 #define CFE_ERR_SETMEM -38
102 #define CFE_ERR_NOTCONN -39
103 #define CFE_ERR_ADDRINUSE -40
105 #define CFE_ERR_INTR -41