summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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().
* 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-134-13/+26
| | | | | | | | PR 1824/cpukit * bootcard.c, bspclean.c, include/bootcard.h: Return exit/shutdown status back to boot_card(). boot_card() propagates this to bsp_cleanup() and returns it to the assembly that started the application.
* Fix cvs id.Jennifer Averett2011-05-251-1/+1
|
* 2011-05-25 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-05-251-0/+30
| | | | | | | | | | PR 1792/bsps * src/lib/libbsp/i386/pc386/Makefile.am, src/lib/libbsp/sparc/erc32/Makefile.am, src/lib/libbsp/sparc/leon2/Makefile.am, src/lib/libbsp/sparc/leon3/Makefile.am: Added a generic smp wait method to sparc and i386 bsps. * src/lib/libbsp/shared/smp/bspsmp_wait_for.c: New file.
* 2011-05-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-05-181-1/+1
| | | | | | PR1797/bsps * shared/bootcard.c: Fixed a typo (in code, not comment) which I introduced with the last change.
* 2011-05-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-05-182-10/+67
| | | | | | PR1797/bsps: Applied cleaned-up version of Kate's patch. CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h' setting and as such configurable.
* 2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-212-3/+9
| | | | * console.c: Make device file optional.
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-163-0/+71
| | | | | PR 1729/cpukit * smp/getcpuid.c, smp/smp_stub.c: New files.
* 2011-02-28 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-282-58/+31
| | | | | * console.c: Register also normal device file of the console device. Call initialization before the device file registration.
* 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-092-1/+7
| | | | | * timerstub.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
* 2011-02-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-012-2/+11
| | | | * console.c: Flow control is optional.
* 2011-01-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-272-5/+24
| | | | | * shared/bspgetworkarea.c: Use BSP_DISABLE_UBOOT_WORK_AREA_CONFIG and BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN options.
* 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-304-1/+76
| | | | | | * shared/bspgetworkarea.c: Include <bsp/u-boot.h> if necessary. * shared/include/u-boot.h, shared/src/bsp-uboot-board-info.c: New files.
* 2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-10-142-80/+84
| | | | * include/utility.h: Renamed macros.
* 2010-09-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-09-082-5/+118
| | | | * include/utility.h: More macros. Changed casts.
* 2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-152-1/+6
| | | | * src/uart-output-char.c: Add BSP_poll_char.
* Typo.Sebastian Huber2010-07-271-1/+1
|
* 2010-07-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-272-7/+11
| | | | * umon/tfsDriver.c: Update for LibIO API changes.
* 2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-302-3/+6
| | | | * umon/tfsDriver.c: Remove extra brace.