4.104.114.84.95
Last change
on this file since 62c4e481 was
b06e68ef,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/17/95 at 19:51:51
|
Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@…) including the following major additions:
+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables
|
-
Property mode set to
100644
|
File size:
724 bytes
|
Line | |
---|
1 | /* |
---|
2 | * @(#)error.h 1.1 - 95/08/02 |
---|
3 | * |
---|
4 | * |
---|
5 | * Defines and externs for rtems error reporting |
---|
6 | * |
---|
7 | * $Id$ |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | * rtems_error() and rtems_panic() support |
---|
12 | */ |
---|
13 | |
---|
14 | #define RTEMS_ERROR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */ |
---|
15 | #define RTEMS_ERROR_PANIC (RTEMS_ERROR_ERRNO / 2) /* err fatal; no return */ |
---|
16 | #define RTEMS_ERROR_ABORT (RTEMS_ERROR_ERRNO / 4) /* err is fatal; panic */ |
---|
17 | |
---|
18 | #define RTEMS_ERROR_MASK (RTEMS_ERROR_ERRNO | RTEMS_ERROR_ABORT | \ |
---|
19 | RTEMS_ERROR_PANIC) /* all */ |
---|
20 | |
---|
21 | char *rtems_status_text(rtems_status_code); |
---|
22 | int rtems_error(int error_code, char *printf_format, ...); |
---|
23 | void rtems_panic(char *printf_format, ...); |
---|
24 | |
---|
25 | extern int rtems_panic_in_progress; |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.