summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2010-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-247-26/+342
| | | | | | | | | | | | | | | PR 1673/cpukit * sapi/src/chainappendnotify.c, sapi/src/chaingetnotify.c, sapi/src/chaingetwait.c, sapi/src/chainprependnotify.c: New files. * sapi/Makefile.am: Reflect changes above. * sapi/include/rtems/chain.h: Declare rtems_chain_append_with_notification(), rtems_chain_prepend_with_notification(), rtems_chain_get_with_notification(), and rtems_chain_get_with_wait(). * sapi/inline/rtems/chain.inl: Define rtems_chain_append_with_empty_check(), rtems_chain_prepend_with_empty_check(), and rtems_chain_get_with_empty_check().
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-201-3/+3
| | | | * sapi/include/rtems/chain.h: Move extern "C".
* 2010-09-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-111-1/+1
| | | | | * sapi/include/confdefs.h: Include <rtems.h> to resolve all dependencies.
* 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-101-1/+8
| | | | | | PR 1658/cpukit * sapi/src/exshutdown.c, score/include/rtems/score/interr.h: If the system is not up, consider it a fatal error.
* 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-091-0/+15
| | | | | * sapi/inline/rtems/chain.inl: Added rtems_chain_extract_unprotected().
* 2010-07-30 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill2010-07-301-11/+56
| | | | | * sapi/include/confdefs.h: Add configuration macros for Go requirements.
* 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | PR 1635/cpukit * sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management. * score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files.
* 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-261-2/+2
| | | | * sapi/include/confdefs.h: Spelling.
* 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-261-20/+20
| | | | | * sapi/include/confdefs.h: Do not cover up user configuation mistakes on filesystems -- cite them as errors.
* 2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-251-1/+1
| | | | | * sapi/include/rtems/init.h: Mark rtems_shutdown_executive as a noreturn method.
* 2010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-041-3/+1
| | | | | | | | | | | | | | | | * libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c, libcsupport/src/__times.c, libcsupport/src/libio_init.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/unmount.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c, libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c, telnetd/telnetd.c: Remove include of assert.h when it is not needed.
* 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-011-18/+18
| | | | | | | | * libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/librtemsNfs.h: Renamed rtems_nfsfs_initialize() in rtems_nfs_initialize(). * sapi/include/confdefs.h: Reflect changes above. Renamed *_miniIMFS in *_MINIIMFS. Renamed *_NFSFS in *_NFS.
* 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-211-1/+1
| | | | | | PR 1581/cpukit * libcsupport/include/rtems/malloc.h, sapi/include/confdefs.h: Remove extra * on function pointer declaration.
* 2010-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-201-5/+12
| | | | | * sapi/include/confdefs.h: Add parameters for FIFOs and pipes since they are distinct to the user.
* 2010-06-19 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-191-5/+34
| | | | | * sapi/include/confdefs.h: Add CONFIGURE_MAXIMUM_FIFOS to account for resources per FIFO instance.
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-181-4/+1
| | | | * sapi/include/rtems/config.h: Remove ITRON.
* Remove RTEMS_ITRON_API conditional blocks.Ralf Corsepius2010-06-182-14/+0
|
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-182-84/+1
| | | | | * sapi/Makefile.am: Remove src/itronapi.c. * sapi/src/itronapi.c: Remove.
* 2010-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-171-274/+4
| | | | * sapi/include/confdefs.h: Remove ITRON configuration parameters.
* 2010-06-17 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-171-10/+5
| | | | * sapi/include/confdefs.h: Remove RTEMS_COVERAGE conditionals whi.
* 2010-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-141-6/+8
| | | | | * sapi/include/confdefs.h: Do not define a filesystem if CONFIGURE_APPLICATION_DISABLE_FILESYSTEM is defined.
* 2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-091-12/+21
| | | | | * libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added and use defines for file system types.
* 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-081-15/+5
| | | | | | | | | | | * libfs/src/imfs/fifoimfs_init.c: New file. * libfs/Makefile.am: Reflect change above. * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/miniimfs_init.c, libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: Pipe support is now link-time optional. * sapi/include/confdefs.h: Reflect changes above.
* 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-071-4/+1
| | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libio_.h: Declare rtems_filesystem_mount_table_control. * libcsupport/include/rtems/libio.h: Removed rtems_filesystem_table_first(), rtems_filesystem_table_next() and rtems_filesystem_table_node_t declarations. Declare rtems_per_filesystem_routine, rtems_filesystem_iterate() and rtems_filesystem_get_mount_handler(). * libcsupport/src/mount.c: Added rtems_filesystem_mounts_first() and rtems_filesystem_mounts_next(). Simplify mount(). Removed rtems_filesystem_mount_table_control_init. Use rtems_filesystem_get_mount_handler(). * libcsupport/src/mount-mgr.c: Removed rtems_filesystem_mounts_first() and rtems_filesystem_mounts_next(). Added rtems_filesystem_iterate() and rtems_filesystem_get_mount_handler(). Use rtems_libio_lock() and rtems_libio_unlock(); * sapi/include/confdefs.h, libmisc/shell/main_mount.c: Update for mount API changes.
* 2010-06-03 Chris Johns <chrisj@rtems.org>Chris Johns2010-06-031-4/+4
| | | | | * sapi/include/confdefs.h: PR 1543. Make default file system when nothing is defined IMFS not miniIMFS.
* 2010-06-01 Chris Johns <chrisj@rtems.org>Chris Johns2010-06-021-11/+20
| | | | | | * libcsupport/include/rtems/libio.h: Make the struct name the same as the typedef. * sapi/include/confdefs.h: Fixes for use in C++.
* 2010-05-31 Chris Johns <chrisj@rtems.org>Chris Johns2010-05-311-26/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/Makefile.am: Add mount-mgr.c. * libcsupport/src/mount-mgr.c: New. * include/rtems/fs.h: Added rtems_filesystem_location_mount. * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New mount interface. It is similar to Linux. * libcsupport/include/rtems/libio_.h: Remove the init_fs_mount_table call. * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use the new mount call. Remove setting the root node in the global pathloc. Mount does this now. * libcsupport/src/privateenv.c: Remove the hack to set the root mount table entry in the environment. * libcsupport/src/unmount.cL Free the target string. * libblock/src/bdpart-mount.c: New mount API. * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c, libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h, libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h, libnetworking/rtems/tftp.h: New mount_h API. * libfs/src/devfs/devfs_eval.c: Local include of extern ops. * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount me call and fixed the initialisation to happen when mounting. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount filesystem files. * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to the new mount table values. * libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c, libmisc/shell/main_mount_tftp.c: Removed. * libmisc/shell/main_mount.c: Use the new mount API. Also access the file system table for the file system types. * libnetworking/lib/tftpDriver.c: Updated to the new mount API. Fixed to allow mounting from any mount point. Also can now have more than file system mounted. * sapi/include/confdefs.h: Add file system configuration support.
* 2010-05-03 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-05-031-10/+22
| | | | | | | * sapi/include/confdefs.h: New define CONFIGURE_SEMAPHORES for the overall count of required semaphores. New define CONFIGURE_LIBBLOCK_SEMAPHORES for the count of required disk and bdbuf semaphores.
* 2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-04-301-0/+21
| | | | * sapi/inline/rtems/chain.inl: Added missing functions.
* 2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-041-2/+2
| | | | | | * libblock/src/ramdisk-config.c, sapi/include/confdefs.h: CONFIGURE_DISABLE_CLASSIC_NOTEPADS is typo of CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS. Fix it.
* User extension API: add const to some params, inline ↵Thomas Doerfler2010-01-262-9/+9
| | | | _User_extensions_Add_API_set
* Added defines for initialization of empty chains.Thomas Doerfler2009-11-301-0/+11
|
* Whitespace removal.Ralf Corsepius2009-11-2913-40/+40
|
* 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-11-091-3/+2
| | | | * sapi/src/fatal.c: Formatting.
* 2009-10-21 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-211-2/+2
| | | | | | | | * sapi/include/rtems/config.h: Fixed typos (wrong case) in macro expansion for rtems_configuration_get_device_driver_table() and rtems_configuration_get_user_extension_table()
* 2009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-10-093-0/+14
| | | | | | | | * cpukit/sapi/include/rtems/io.h: Documentation. * cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is an error. * cpukit/sapi/src/iounregisterdriver.c: Disable preemption during critical section.
* 2009-10-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-081-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, preinstall.am: Added statvfs.h. * libcsupport/Makefile.am: Add statvfs.c. * libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c: New. * libcsupport/include/rtems/libio.h: Add a file system handler for the statvfs call. * libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the statvfs handler to NULL. * include/rtems/fs.h: Add a second node access field for the RFS file system to hold a directory offset while the existing field holds the inode number. This save a rescan of the directory when working with directories. * libblock/include/rtems/bdbuf.h: Added references and user fields to the buffer descriptor. * libblock/src/bdbuf.c: Added dynamic buffer support for different block sizes. Fixed a number of bugs. * libblock/src/blkdev.c: Release the disk device on an error. * libblock/src/diskdevs.c: Set the block size to the media block size during initialisation of the disk device. * libblock/src/flashdisk.c, libblock/src/nvdisk.c, libblock/src/ramdisk.c: Updated the drivers to handle variable block sizes. * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any buffers when an error occurs. The FAT buffer layer hangs onto a single buffer while mounted. This should be fixed. * sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain, rtems_chain_is_node_off_chain, and rtems_chain_previous. * score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain, and _Chain_Is_node_off_chain. * libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c, libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h: New shell commands. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and mknod commands. * libmisc/shell/hexdump-display.c: Fixed the reopen bug which showed up as a free with a bad pointer. * libmisc/shell/main_mount.c: List the user adding file system when listing the available file systems to mount. * libmisc/shell/utils-cp.c: Remove the fixed static copy buffer and use a large dynamic buffer. * score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c, score/src/objectallocate.c, score/src/objectfree.c: Remove warnings.
* 2009-10-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-061-53/+22
| | | | | | * sapi/src/ioregisterdriver.c: Reowork so this is a context switch disable critical section not interrupt disable critical section. Hopefully eliminated dead code which showed up in coverage runs.
* 2009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-10-052-213/+194
| | | | | | | * sapi/include/rtems/io.h, sapi/src/ioregisterdriver.c: Documenation. rtems_io_lookup_name() is now deprecated. Added rtems_io_driver_io_error(). rtems_io_register_driver() is now thread-safe.
* 2009-09-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-255-170/+216
| | | | | | | | | | | | | | | | | | * sapi/include/rtems/extension.h, sapi/src/extensiondelete.c, sapi/src/extensionident.c, sapi/src/extensioncreate.c, sapi/inline/rtems/extension.inl, score/include/rtems/score/userext.h, score/src/userextthreaddelete.c, score/src/userext.c, score/src/userextthreadcreate.c, score/src/userextremoveset.c, score/src/userextthreadbegin.c, score/src/userextaddset.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c, score/src/userextthreadrestart.c: Documentation. The types User_extensions_routine and rtems_extension are now deprecated. Removed unused types User_extensions_thread_post_switch_extension and rtems_task_post_switch_extension. Renamed _User_extensions_Add_API_set() in _User_extensions_Add_set(). Renamed _User_extensions_Add_set() in _User_extensions_Add_set_with_table(). * score/src/userextaddapiset.c: Removed file. * score/Makefile.am: Update.
* 2009-09-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-09-041-1/+1
| | | | | | | | * rtems/src/taskmode.c, sapi/src/exshutdown.c, score/include/rtems/score/sysstate.h, score/inline/rtems/score/sysstate.inl: Added _System_state_Is_shutdown(). Removed direct uses of _System_state_Current. Documentation.
* 2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-281-3/+0
| | | | | | * libcsupport/src/malloc_initialize.c, sapi/src/exinit.c, score/src/threadstartmultitasking.c: Fix spacing. * libmisc/stackchk/check.c: Move variable into compiler specific conditional.
* 2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-08-261-1/+1
| | | | | * sapi/include/rtems/config.h: Changed stack allocator signature to match the one of _Workspace_Allocate().
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-191-0/+8
| | | | | | | * sapi/include/confdefs.h, score/Makefile.am, score/include/rtems/score/thread.h: Only instantiate _Thread_Idle_body() if it is going ot be used. * score/src/threadidlebody.c: Removed.
* 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-121-5/+20
| | | | | | | * libcsupport/src/malloc_boundary.c: This is currently non-funcitonal. Do not build it when doing coverage until it works again. * sapi/include/confdefs.h: Address linking errors when building for configuration.
* 2009-08-09 Xi Yang <hiyangxi@gmail.com>Joel Sherrill2009-08-091-0/+1
| | | | | | | | * libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am, score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under by one uint32_t. This showed up in the unlimited and heapwalk tests on ARM targets.
* Revert.Joel Sherrill2009-08-061-1/+0
|
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-052-1/+16
| | | | | | | | | * libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl: Remove inline version now that it is in a C file. * libcsupport/src/end_profile.c: New file.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-051-1/+1
| | | | * sapi/include/confdefs.h: Fix typo.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-051-1/+3
| | | | | * sapi/include/confdefs.h: Account for memory for POSIX message queue file descriptors.