| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Not every clock interrupt service routine is installed with this API.
Remove also the prototype to allow drivers to make this routine static.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
* umon/tfsDriver.c: Include <rtems/umon.h> (Missing prototype).
* umon/monlib.c: Make DisableMonLock, EnableMonLock static.
|
|
|
|
| |
* console.c: Added a some error checks and fixed a error message.
|
|
|
|
|
| |
PR 1924/cpukit
* bootcard.c: Update due to API changes.
|
|
|
|
|
|
| |
* include/utility.h: Fixed some casts.
* include/irq-generic.h: Define bsp_interrupt_handler_index_type
conditionally.
|
|
|
|
|
| |
* console_private.h: Removed Console_Port_Minor declaration.
* console.c: Define console_initialized as static.
|
|
|
|
|
| |
PR 1945/cpukit
* umon/tfsDriver.c: Replace rtems_off64_t with off_t.
|
|
|
|
| |
* console.c: Include <rtems/error.h> for rtems_panic().
|
| |
|
|
|
|
| |
* console.c: RTEMS_DEBUG is a define, not a variable.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* bootcard.c: Revert patch and add comment clarifying code and need for
cast.
|
|
|
|
| |
* bootcard.c: Correct printk() format.
|
|
|
|
|
| |
* include/uart-output-char.h, src/uart-output-char.c: Support for
getchark().
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR1797/bsps
* shared/bootcard.c: Fixed a typo (in code, not comment) which
I introduced with the last change.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* console.c: Make device file optional.
|
|
|
|
|
| |
PR 1729/cpukit
* smp/getcpuid.c, smp/smp_stub.c: New files.
|
|
|
|
|
| |
* console.c: Register also normal device file of the console device.
Call initialization before the device file registration.
|
|
|
|
|
| |
* timerstub.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
|
|
|
|
| |
* console.c: Flow control is optional.
|
|
|
|
|
| |
* shared/bspgetworkarea.c: Use BSP_DISABLE_UBOOT_WORK_AREA_CONFIG and
BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN options.
|
|
|
|
|
|
| |
* shared/bspgetworkarea.c: Include <bsp/u-boot.h> if necessary.
* shared/include/u-boot.h, shared/src/bsp-uboot-board-info.c: New
files.
|
|
|
|
| |
* include/utility.h: Renamed macros.
|
|
|
|
| |
* include/utility.h: More macros. Changed casts.
|
|
|
|
| |
* src/uart-output-char.c: Add BSP_poll_char.
|
| |
|
|
|
|
| |
* umon/tfsDriver.c: Update for LibIO API changes.
|
|
|
|
| |
* umon/tfsDriver.c: Remove extra brace.
|
|
|
|
|
| |
* umon/tfsDriver.c: Corrected filesystem mknod entry to call the
default handler.
|
|
|
|
|
| |
* umon/tfsDriver.c: Changed NULL methods in filesystem tables to be
default methods.
|
|
|
|
| |
* shared/umon/tfsDriver.c: Updated to the new mount API.
|
|
|
|
|
| |
* umon/tfsDriver.c:
Use size_t instead of int for pathnamelen.
|
| |
|
|
|
|
|
| |
* include/utility.h: Macros use now first and last bit values instead
of shift and length parameters.
|