1 /*
2  * Copyright (C) 2000, 2001, 2002 Broadcom Corporation
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17  */
18 
19 /*  *********************************************************************
20     *
21     *  Broadcom Common Firmware Environment (CFE)
22     *
23     *  Error codes				File: cfe_error.h
24     *
25     *  CFE's global error code list is here.
26     *
27     *  Author:  Mitch Lichtenberg
28     *
29     ********************************************************************* */
30 
31 
32 #define CFE_OK			 0
33 #define CFE_ERR                 -1	/* generic error */
34 #define CFE_ERR_INV_COMMAND	-2
35 #define CFE_ERR_EOF		-3
36 #define CFE_ERR_IOERR		-4
37 #define CFE_ERR_NOMEM		-5
38 #define CFE_ERR_DEVNOTFOUND	-6
39 #define CFE_ERR_DEVOPEN		-7
40 #define CFE_ERR_INV_PARAM	-8
41 #define CFE_ERR_ENVNOTFOUND	-9
42 #define CFE_ERR_ENVREADONLY	-10
43 
44 #define CFE_ERR_NOTELF		-11
45 #define CFE_ERR_NOT32BIT 	-12
46 #define CFE_ERR_WRONGENDIAN 	-13
47 #define CFE_ERR_BADELFVERS 	-14
48 #define CFE_ERR_NOTMIPS 	-15
49 #define CFE_ERR_BADELFFMT 	-16
50 #define CFE_ERR_BADADDR 	-17
51 
52 #define CFE_ERR_FILENOTFOUND	-18
53 #define CFE_ERR_UNSUPPORTED	-19
54 
55 #define CFE_ERR_HOSTUNKNOWN	-20
56 
57 #define CFE_ERR_TIMEOUT		-21
58 
59 #define CFE_ERR_PROTOCOLERR	-22
60 
61 #define CFE_ERR_NETDOWN		-23
62 #define CFE_ERR_NONAMESERVER	-24
63 
64 #define CFE_ERR_NOHANDLES	-25
65 #define CFE_ERR_ALREADYBOUND	-26
66 
67 #define CFE_ERR_CANNOTSET	-27
68 #define CFE_ERR_NOMORE		-28
69 #define CFE_ERR_BADFILESYS	-29
70 #define CFE_ERR_FSNOTAVAIL	-30
71 
72 #define CFE_ERR_INVBOOTBLOCK	-31
73 #define CFE_ERR_WRONGDEVTYPE	-32
74 #define CFE_ERR_BBCHECKSUM	-33
75 #define CFE_ERR_BOOTPROGCHKSUM	-34
76 
77 #define CFE_ERR_LDRNOTAVAIL	-35
78 
79 #define CFE_ERR_NOTREADY	-36
80 
81 #define CFE_ERR_GETMEM          -37
82 #define CFE_ERR_SETMEM          -38
83 
84 #define CFE_ERR_NOTCONN		-39
85 #define CFE_ERR_ADDRINUSE	-40
86