summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-1091/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* libchip/serial: Add const qualifierSebastian Huber2013-02-111-1/+1
|
* bsps: Fix rtems_interrupt_server_handler_remove()Sebastian Huber2013-01-071-2/+2
|
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-073-32/+7
| | | | | | | | | Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
* bsps: Add BSP_GENERIC_FATAL_SPURIOUS_INTERRUPTSebastian Huber2012-12-071-1/+2
| | | | Use rtems_fatal() instead of bsp_cleanup().
* score: Add CPU_Exception_frameSebastian Huber2012-11-271-1/+7
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-0/+1
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-153-30/+35
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-2/+9
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* sapi: Add rtems_fatal_source and rtems_fatal_codeSebastian Huber2012-11-151-2/+2
|
* bsps: Include <bsp/bootcard.h>Sebastian Huber2012-11-141-3/+1
| | | | | Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix bsp_cleanup() definition if necessary.
* bsps: New file <bsp/default-initial-extension.h>Sebastian Huber2012-11-131-0/+37
|
* sapi: Use rtems_config*_get_interrupt_stack_sizeSebastian Huber2012-11-071-1/+1
|
* bsps: Use allocator mutex for generic IRQ supportSebastian Huber2012-11-061-89/+16
| | | | | | Since the allocator mutex allows nesting now we can use it for the generic IRQ support (recursive obtain in a potential malloc()). This simplifies the code and reduces memory usage.
* bsps: Add bsp_work_area_initialize_with_table()Sebastian Huber2012-10-251-0/+9
|
* score: Work area initialization API changeSebastian Huber2012-10-254-236/+119
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* Remove unused var 'sc'.Ralf Corsépius2012-10-151-2/+1
|
* Use proper 3 line form of license textJoel Sherrill2012-10-111-2/+3
|
* Fix C files which had two semi-colons at EOLJoel Sherrill2012-05-311-1/+1
|
* Filesystem: Move operations to mount table entrySebastian Huber2012-05-151-1/+1
| | | | | | | | | | | The scope of the file system operations is the file system instance. The scope of the file system node handlers is the file location. The benefit of moving the operations to the mount table entry is a size reduction of the file location (rtems_filesystem_location_info_t). The code size is slightly increased due to additional load instructions. Restructure rtems_filesystem_mount_table_entry_t to improve cache efficiency.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1158-113/+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.
* clockdrv_shell.h - Fix commmentJoel Sherrill2012-05-101-1/+1
|
* clockdrv_shell.c - Remove unreferenced and obsolete fileJoel Sherrill2012-05-101-16/+0
|
* Clock Driver Shell - ISR handler prototype should follow port interrupt modelJoel Sherrill2012-05-101-1/+2
| | | | | | The prototype for the clock driver tick isr varies based upon the interrupt model used by the port. This driver was checking solely upon a flag set by the BSP.
* bsps/stackalloc: Add initialization hookSebastian Huber2012-04-262-16/+23
|
* bsps/stackalloc: Use stack section symbolsSebastian Huber2012-04-242-30/+19
|
* bsps: Avoid rtems_irq_hdl_param type usageSebastian Huber2012-04-201-2/+1
| | | | | Not every clock interrupt service routine is installed with this API. Remove also the prototype to allow drivers to make this routine static.
* Clock Driver Shell - Correct PIC IRQ Prototype.Joel Sherrill2012-04-191-2/+2
|
* PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett2012-04-041-3/+14
|
* bsps: Add shared default IRQ handlerSebastian Huber2012-03-241-0/+22
|
* bsps: Provide optional prototypeSebastian Huber2012-03-241-9/+12
|
* shared-irq: add support for custom BSP vector verificationDaniel Hellstrom2012-03-212-0/+10
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* Filesystem: Rename definesSebastian Huber2012-03-131-2/+2
| | | | | | | | | | | | | | | o Removed RTEMS_LIBIO_PERMS_SEARCH. o Renamed RTEMS_LIBIO_PERMS_READ in RTEMS_FS_PERMS_READ. o Renamed RTEMS_LIBIO_PERMS_WRITE in RTEMS_FS_PERMS_WRITE. o Renamed RTEMS_LIBIO_PERMS_EXEC in RTEMS_FS_PERMS_EXEC. o Renamed RTEMS_LIBIO_FOLLOW_HARD_LINK in RTEMS_FS_FOLLOW_HARD_LINK. o Renamed RTEMS_LIBIO_FOLLOW_SYM_LINK in RTEMS_FS_FOLLOW_SYM_LINK. o Renamed RTEMS_LIBIO_MAKE in RTEMS_FS_MAKE. o Renamed RTEMS_LIBIO_EXCLUSIVE in RTEMS_FS_EXCLUSIVE. o Renamed RTEMS_LIBIO_ACCEPT_RESIDUAL_DELIMITERS in RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS. o Renamed RTEMS_LIBIO_REJECT_TERMINAL_DOT in RTEMS_FS_REJECT_TERMINAL_DOT.
* Filesystem: New defaults fsync_h and fdatasync_hSebastian Huber2012-03-131-2/+2
| | | | | | | New defaults rtems_filesystem_default_fsync_or_fdatasync() and rtems_filesystem_default_fsync_or_fdatasync_success() for fsync_h and fdatasync_h. The rtems_filesystem_default_fsync_or_fdatasync() sets now errno to EINVAL according to POSIX.
* Filesystem: Reference counting for locationsSebastian Huber2012-03-131-198/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o A new data structure rtems_filesystem_global_location_t was introduced to be used for o the mount point location in the mount table entry, o the file system root location in the mount table entry, o the root directory location in the user environment, and o the current directory location in the user environment. During the path evaluation global start locations are obtained to ensure that the current file system instance will be not unmounted in the meantime. o The user environment uses now reference counting and is protected from concurrent access. o The path evaluation process was completely rewritten and simplified. The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation method. Recursive calls in the path evaluation have been replaced with iteration to avoid stack overflows. Only the evaluation of symbolic links is recursive. No dynamic memory allocations and intermediate buffers are used in the high level path evaluation. No global locks are held during the file system instance specific path evaluation process. o Recursive symbolic link evaluation is now limited by RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value via sysconf(). o The device file system (devFS) uses now no global variables and allocation from the workspace. Node names are allocated from the heap. o The upper layer lseek() performs now some parameter checks. o The upper layer ftruncate() performs now some parameter checks. o unmask() is now restricted to the RWX flags and protected from concurrent access. o The fchmod_h and rmnod_h file system node handlers are now a file system operation. o The unlink_h operation has been removed. All nodes are now destroyed with the rmnod_h operation. o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system operations. o The path evaluation and file system operations are now protected by per file system instance lock and unlock operations. o Fix and test file descriptor duplicate in fcntl(). o New test fstests/fsnofs01.
* Fix typo in comment.Joel Sherrill2012-02-231-1/+1
|
* PR 2017/bsps - Update due to API changesWendell Silva2012-02-111-1/+0
|
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-073-2/+8
| | | | | * umon/tfsDriver.c: Include <rtems/umon.h> (Missing prototype). * umon/monlib.c: Make DisableMonLock, EnableMonLock static.
* 2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-11-182-5/+12
| | | | * console.c: Added a some error checks and fixed a error message.
* 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-102-20/+28
| | | | | PR 1924/cpukit * bootcard.c: Update due to API changes.
* 2011-11-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-083-16/+33
| | | | | | * include/utility.h: Fixed some casts. * include/irq-generic.h: Define bsp_interrupt_handler_index_type conditionally.
* 2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-073-3/+7
| | | | | * console_private.h: Removed Console_Port_Minor declaration. * console.c: Define console_initialized as static.
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-062-4/+9
| | | | | PR 1945/cpukit * umon/tfsDriver.c: Replace rtems_off64_t with off_t.
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-202-0/+5
| | | | * console.c: Include <rtems/error.h> for rtems_panic().
* Remove white spaces.Ralf Corsepius2011-10-198-18/+18
|
* 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-192-1/+6
| | | | * console.c: RTEMS_DEBUG is a define, not a variable.
* 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-10-187-118/+513
| | | | | | | | PR 1917/bsps * console.c: Modifications to add dynamic tables for libchip serial drivers. * console_control.c, console_private.h, console_read.c, console_select.c, console_write.c: New files.
* 2011-08-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-08-302-4/+18
| | | | | * bootcard.c: Revert patch and add comment clarifying code and need for cast.
* 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-08-292-3/+7
| | | | * bootcard.c: Correct printk() format.
* 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-213-12/+29
| | | | | * include/uart-output-char.h, src/uart-output-char.c: Support for getchark().