OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [mips/] [cfe_error.h] - Blame information for rev 455

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.