summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/error.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-04error.c: Add file header and licenseRyan Long1-2/+28
This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-12-13rtems: Add and use rtems_object_get_local_node()Sebastian Huber1-1/+1
Update #3841.
2017-11-22sapi: New implementation of rtems_panic()Sebastian Huber1-15/+0
The previous rtems_panic() implementation was quite heavy weight. It depended on _exit() which calls the global destructors. It used fprintf(stderr, ...) for output which depends on an initialized console device and the complex fprintf(). Introduce a new fatal source RTEMS_FATAL_SOURCE_PANIC for rtems_panic() and output via vprintk(). Update #3244.
2015-05-19libcsupport: Avoid Giant lock in rtems_verror()Sebastian Huber1-1/+1
2014-02-12score: Change debug helper functionsSebastian Huber1-42/+0
Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
2013-08-15Expose rtems_verror()Nick Withers1-1/+1
2013-08-08PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber1-7/+0
2013-07-26score: Create thread implementation headerSebastian Huber1-0/+1
Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files.
2013-07-24score: Merge sysstate API into one fileSebastian Huber1-0/+1
2012-12-11libcsupport: Doxygen enhancement GCI task #4Alex Ivanov1-50/+5
http://www.google-melange.com/gci/task/view/google/gci2012/8009205
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2011-01-042011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+6
* libcsupport/src/error.c: Scheduler Simulator compilation always defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition warning.
2010-06-282010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-119/+116
* libcsupport/include/rtems/error.h, libcsupport/src/error.c: Clean up so rtems_panic() can be a noreturn method. This eliminates some unreachable and thus untestable code.
2009-10-12Reflect having introduced rtems_error_code_t.Ralf Corsepius1-2/+2
2009-01-05Remove hpux9 anachronism.Ralf Corsepius1-5/+0
2008-08-202008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-29/+29
* libcsupport/src/error.c, libmisc/dummy/dummy.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
2008-05-27Added const qualifier to various pointers and data tables toThomas Doerfler1-1/+1
reduce size of data area. IMFS: Fixed creation of symbolic links to avoid a compiler warning. DOSFS: Use LibBlock instead of read() to read the boot record.
2007-05-092007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+3
* libcsupport/src/error.c, sapi/include/rtems/config.h: Do not reference _Configuration_MP_table if multiprocessing is disabled.
2007-01-092007-01-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-3/+0
* libcsupport/src/error.c: rtems_progname is no longer defined in the BSP startup since it never held a meaningful value.
2006-01-10include and use inttypes.h.Ralf Corsepius1-2/+2
2004-04-18Remove stray white spaces.Ralf Corsepius1-8/+8
2004-03-232004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* libcsupport/include/chain.h, libcsupport/include/clockdrv.h, libcsupport/include/ringbuf.h, libcsupport/include/spurious.h, libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libcsupport/src/__gettod.c, libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c, libcsupport/src/error.c, libcsupport/src/libio.c, libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c, libcsupport/src/no_libc.c, libcsupport/src/termios.c, libcsupport/src/termiosreserveresources.c: Convert to using c99 fixed-size types.
2001-01-082001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+3
* configure.in: Add libc/config.h * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h * libc/.cvsignore: Add config.h and stamp-h * libc/*.c: Add config.h support.
2000-11-012000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am, libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c, libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c, libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c, libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c, libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. * include/rtems/Makefile.am, include/rtems/.cvsignore: New file. * include/rtems/assoc.h, include/rtems/error.h, include/rtems/libcsupport.h, include/rtems/libio.h, include/rtems/libio_.h: New/moved files.
1999-12-13Added RTEMS_IO_ERROR.Joel Sherrill1-0/+1
1998-08-31Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-4/+2
I think I figured out why rtems_panic was locking up instead of shutting down the executive and returning to the code that called boot_card(). Later on there is code to print some messages on the standard error stream, a recursive call back to rtems_verror (through rtems_error) and finally a call to _exit(). I think that the _Thread_Disable_dispatch() is preventing the final context switch back to the boot_card() code. Does this sound right to you?
1998-01-23Solaris port updates from Chris JohnsJoel Sherrill1-5/+7
1996-04-22updates from Tony BennettJoel Sherrill1-3/+0
1996-03-06As part of reducing visibility into rtems and hiding the .inl filesJoel Sherrill1-0/+1
from the application code, this file required more visibility than is given by default to application code.
1996-01-15Split error handler into its own directory.Joel Sherrill1-1/+1
1996-01-15updates from Tony Bennett for PA and UNIX portsJoel Sherrill1-8/+7
1995-09-29all targets compile .. tony's patches in placeJoel Sherrill1-1/+1
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-2/+2
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-08-17Numerous miscellaneous features incorporated from Tony BennettJoel Sherrill1-0/+212
(tbennett@divnc.com) including the following major additions: + variable length messages + named devices + debug monitor + association tables/variables