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