summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dosfs: Fix format request with sectors per clusterSebastian Huber2012-05-311-2/+10
|
* libblock: Move rtems_bdbuf_get_media_block() callSebastian Huber2012-05-311-75/+78
| | | | Move rtems_bdbuf_get_media_block() call inside the bdbuf lock.
* libblock: Simplify disk managementSebastian Huber2012-05-317-118/+229
| | | | | Add block_count and media_blocks_per_block to rtems_disk_device. Add and use rtems_disk_init_phys() and rtems_disk_init_log().
* libblock: Remove explicit bds_per_group parameterSebastian Huber2012-05-311-18/+13
|
* libblock: Remove const qualifier from bdbuf APISebastian Huber2012-05-318-27/+27
| | | | This allows addtion of per disk statistics for example.
* libblock: Add task stack size bdbuf configurationSebastian Huber2012-05-313-41/+72
| | | | | | The task stack size for the swap-out and worker tasks is now configurable. The bdbuf task resources are now included in the work space size estimate.
* dosfs: Fix print format stringSebastian Huber2012-05-291-1/+2
|
* ftpd: Set current directory after session closeSebastian Huber2012-05-291-1/+2
| | | | | | The chroot() is an implicit chdir("/"). Set the current directory to "/" after session close. This helps to avoid references to mounted file systems in dynamic media.
* Filesystem: Wait for unmount() to finishSebastian Huber2012-05-294-11/+79
|
* shell/lsof: Use fprintf() instead of printk()Sebastian Huber2012-05-241-2/+6
|
* libblock: Fix read request block count calculationSebastian Huber2012-05-241-1/+1
|
* libblock: Fix state descriptionsSebastian Huber2012-05-241-1/+1
|
* Add config.h.in.Ralf Corsépius2012-05-241-0/+495
|
* network/dhcp: PR1841: Fix DNS processing in DHCPSebastien Bourdeauducq2012-05-221-3/+45
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-161-4/+8
| | | | | | | | | | | | | + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
* mvme5500 and cpukit pci.h - Eliminate mvme5500 specific pci.hJoel Sherrill2012-05-161-2/+12
| | | | | | | | All constants that should have been in cpukit pci.h were moved there. One naming style was corrected. This impacted if_wm.c. All other contents were the same as powerpc/shared/pci.h so BSP specific pci.h could be eliminated.
* nfsclient: Fix symbolic link evaluationSebastian Huber2012-05-161-66/+97
|
* libcsupport: Adjust malloc_walk() prototypeSebastian Huber2012-05-163-3/+4
| | | | | | | | The header file <rtems/malloc.h> provides now also the malloc_walk() prototype. The malloc_walk() prototype reflects now the _Protected_heap_Walk() API. The return status helps to print only in case of an error.
* Filesystem: Add missing include file <stdint.h>Sebastian Huber2012-05-151-0/+1
|
* Filesystem: Change pathconf_limits_and_optionsSebastian Huber2012-05-156-11/+7
| | | | | | The pathconf_limits_and_options field of rtems_filesystem_mount_table_entry_t is now a const pointer to reduce the read-write memory demands of file system instances.
* Filesystem: Move operations to mount table entrySebastian Huber2012-05-1537-64/+76
| | | | | | | | | | | 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.
* Filesystem: Add const qualifier to lock/unlockSebastian Huber2012-05-157-15/+19
|
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-1511-20/+39
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* Filesystem: Add shared device IO supportSebastian Huber2012-05-1514-289/+255
| | | | | The device IO file system support in IMFS, devFS, and RFS uses now a shared implementation.
* Filesystem: Use ioctl_command_tSebastian Huber2012-05-1515-89/+45
|
* rfs: Fix major and minor number integer typesSebastian Huber2012-05-151-25/+30
|
* libblock: Fix purge device tree traversalSebastian Huber2012-05-141-1/+2
|
* dosfs: Remove unused parameterSebastian Huber2012-05-141-1/+0
|
* devfs: C++ compatibilitySebastian Huber2012-05-141-1/+1
|
* Filesystem: Remove duplicate prototypeSebastian Huber2012-05-141-11/+0
|
* PR2065: RBTree: Insert function (protected) does not enable interruptsGedare Bloom2012-05-131-2/+4
| | | | | Save the return value from the unprotected version and return it after enabling interrupts to their previous level.
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-1137-79/+3
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* cpukit/aclocal - Fix one mistake by scriptJoel Sherrill2012-05-111-0/+1
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111906-3912/+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.
* dosfs: Remove fat_file_datasync()Sebastian Huber2012-05-118-179/+73
| | | | | | | | | | | | | | | The fat_file_datasync() read every cluster of the file into the cache and then synchronized it step-by-step. For unmodified buffers this is a non-operation. For modified buffers this will wake-up the swapout task which performs then a single buffer write operation. This is usually quite inefficient. Firstly we do single buffer writes, secondly we may perform a lot of unnecessary read operations (for huge files this is really bad), and thirdly this leads likely to cache evictions. The synchronization procedure is replaced by a simple rtems_bdbuf_sync_dev(). This has the side-effect that also buffers not related to the file are synchronized, but since the modified list is normally short this should be acceptable.
* libblock: Add RTEMS_BLKIO_PURGEDEVSebastian Huber2012-05-112-0/+10
|
* Filesystem: PR1893: Fix write and truncate handlerSebastian Huber2012-05-119-37/+137
| | | | | Space that grows due to truncate or write offsets beyond the current file size must be zero filled.
* Filesystem: PR1871: Fix O_APPENDSebastian Huber2012-05-118-143/+33
|
* Filesystem: PR1398: Fix lseek() mechanicSebastian Huber2012-05-1123-391/+166
| | | | | | | | | | | | According to POSIX the lseek() function shall not, by itself, extend the size of a file. Remove the size field of rtems_libio_t. A file has only one size but may have multiple open file descriptors. Thus a file size field in the file descriptor may lead to inconsistencies. New default handlers rtems_filesystem_default_lseek_file() and rtems_filesystem_default_lseek_directory().
* Score ISR - Minimize Capabilities When Not Simple VectoredJoel Sherrill2012-05-094-9/+21
| | | | | | | | | | | In particular CPU_INTERRUPT_NUMBER_OF_VECTORS and CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER are only used on Simple Vectored Architectures, so do not depend on them being defined. This disables as much as possible that is specific to the Simple Vectored Model and not expected to be used on architectures which use the Programmable Interrupt Controller model for interrupt handler vectoring.
* Score Semaphore - Need Semaphore Seize Body When Multiprocessing is EnabledJoel Sherrill2012-05-091-1/+1
| | | | mptests did not link without this modification.
* rbtree: API changes. Remove rbtree control node from RBTree_Next.Gedare Bloom2012-05-087-34/+19
| | | | | | | | | | | | The implementation of RBTree_Next was using an awkward construction to detect and avoid accessing the false root of the red-black tree. To deal with the false root, RBTree_Next was comparing node parents with the control node. Instead the false root can be detected by checking if the grandparent of a node exists; the grandparent of the tree's true root is NULL by definition so the root of the tree is found while walking up the tree by checking for the non-existence of a grandparent. This change propagates into the predecessor/successor and iterate functions.
* PR2061: RBTree: updating min and max on insert with duplicatesGedare Bloom2012-05-081-1/+6
| | | | | | | When inserting to a red-black tree with duplicates the min and max pointers are not updated properly. We need to check the key of the min/max node against the insert node since the insert point could be the child of a node with an identical key to the min/max node.
* PR2060: RBTree: updating min and max on extract pathGedare Bloom2012-05-081-17/+9
| | | | | | During node extraction from a red-black tree the min and max values are updated incorrectly. We need to use the successor/predecessor functions to find the next/previous node when we remove the min/max from the tree.
* score/rbtree: eliminate unused function _RBTree_Peek.Gedare Bloom2012-05-083-68/+1
|
* rbtree: API ChangesGedare Bloom2012-05-082-11/+76
| | | | | Make default for rtems_rbtree functions be unprotected (preemption enabled) unless an unprotected variant e.g. rtems_rbtree_xxx_unprotected is available.
* score/rbtree: replace _RBTree_Peek_unprotected with _RBTree_First.Gedare Bloom2012-05-082-23/+3
|
* score/scheduling: Use RBTree_First instead of Peek in EDF scheduler.Gedare Bloom2012-05-081-6/+3
|
* Revert: Remove CVS IdsJoel Sherrill2012-05-0758-0/+194
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* nfsclient: Add rename operationSebastian Huber2012-05-041-1/+45
|