summaryrefslogtreecommitdiffstats
path: root/cpukit/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Thomas Doerfler2008-07-241-1/+4
|
* New function rtems_interrupt_handler_iterate()Thomas Doerfler2008-07-241-0/+6
| | | | for system information and diagnostics
* 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-231-0/+5
| | | | | * libmisc/shell/shell_script.c: Clean up code for command not found including the error message.
* 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-231-0/+11
| | | | | | | | | | | * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c, libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of internal routine. This makes it possible to also print string names of POSIX objects. Adjust task report to realign since we can have longer names.
* 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-231-0/+5
| | | | | * sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread body is now completely configured via the Configuration table.
* 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-181-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1291/cpukit * itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c, posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/time.h, posix/src/condtimedwait.c, posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c, posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c, posix/src/posixtimespecabsolutetimeout.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semaphoretranslatereturncode.c, posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c, posix/src/semtrywait.c, posix/src/semwait.c, posix/src/sigtimedwait.c, posix/src/timersettime.c, posix/src/ualarm.c, rtems/src/semobtain.c, rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h, score/src/coresemseize.c: This patch addresses issues on implementation of the timeout on the following POSIX services. Some of these services incorrectly took a timeout as a relative time. Others would compute a 0 delta to timeout if the absolute time and the current time were equal and thus incorrectly block the caller forever. The root of the confusion is that POSIX specifies that if the timeout is incorrect (e.g. in the past, is now, or is numerically invalid), that it does not matter if the call would succeed without blocking. This is in contrast to RTEMS programming style where all errors are checked before any critical sections are entered. This fix implemented a more uniform way of handling POSIX absolute time timeouts. + pthread_cond_timedwait - could block forever + mq_timedreceive - used relative not absolute time + mq_timedsend - used relative not absolute time + pthread_mutex_timedlock - used relative not absolute time + pthread_rwlock_timedrdlock- used relative not absolute time + pthread_rwlock_timedwrlock- used relative not absolute time + sem_timedwait - could block forever
* 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-171-0/+9
| | | | | | | | | * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: Add pthread command to monitor when POSIX is enabled. Remove include of rtems/monitor.h from files not related.
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-161-0/+6
| | | | | | * score/cpu/powerpc/rtems/new-exceptions/cpu.h: use ppc_interrupt_get_disable_mask() to determine which bits to set/clear from _CPU_ISR_Set_level().
* 2008-07-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-161-0/+5
| | | | | * score/cpu/powerpc/rtems/powerpc/registers.h: added ppc_interrupt_get_disable_mask() inline function.
* 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-161-0/+4
| | | | * libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
* 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-161-0/+7
| | | | | | | * libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence for rtems_shell_init(). This makes it possible to run the shell forever or invoke it from a program as a subroutine, have a user enter commands, and wait for it to exit.
* 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-151-0/+6
| | | | | | * rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get RTEMS version string. * sapi/src/getversionstring.c: New file.
* added BSP to m68kThomas Doerfler2008-07-111-0/+14
| | | | adapted PPC exception code
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-101-0/+11
| | | | | | | | | | | * cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h, cpukit/score/cpu/powerpc/rtems/score/cpu.h, cpukit/score/cpu/powerpc/rtems/score/powerpc.h: Removed all macro definitions which depended on the compiler defining a PPC CPU-model dependent symbol. Macros which were not used by cpukit have been moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
* 2008-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-07-101-0/+4
| | | | * include/rtems/status-checks.h: Fix style.
* added irq-extension.h declarationsThomas Doerfler2008-07-101-6/+8
|
* Extension of the RTEMS Interrupt ManagerThomas Doerfler2008-07-101-0/+22
| | | | (shared handler and handler with a handle).
* 2008-07-03 Chris Johns <chrisj@rtems.org>Chris Johns2008-07-031-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cpukit/libcsupport/include/chain.h: Removed. Use the SAPI interface that is supported. * cpukit/libcsupport/Makefile.am, cpukit/libcsupport/preinstall.am: Remove chain.h header references. * cpukit/sapi/include/rtems/chain.h, cpukit/sapi/inline/rtems/chain.inl: New. A supported chains interface. * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to include the new chains interface. * cpukit/libfs/src/imfs/imfs.h, cpukit/libfs/src/imfs/imfs_creat.c, cpukit/libfs/src/imfs/imfs_debug.c, cpukit/libfs/src/imfs/imfs_directory.c, cpukit/libfs/src/imfs/imfs_fsunmount.c, cpukit/libfs/src/imfs/imfs_getchild.c, cpukit/libfs/src/imfs/imfs_load_tar.c, cpukit/libfs/src/imfs/imfs_rmnod.c, cpukit/libfs/src/imfs/memfile.c, cpukit/libfs/src/nfsclient/src/nfs.c, cpukit/libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/malloc_deferred.c, cpukit/libcsupport/src/mount.c, cpukit/libcsupport/src/privateenv.c, cpukit/libcsupport/src/unmount.c: Change to the new chains interface. * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
* 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-07-021-1/+7
| | | | | | * score/include/rtems/score/thread.h, score/src/threaddispatch.c, score/src/threadinitialize.c: Support rtems_ada_self iff __RTEMS_ADA__ is given.
* 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-021-0/+4
| | | | * libmisc/shell/shell_script.c: Remove unused function.
* 2008-07-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-07-021-0/+4
| | | | * configure.ac: Add __RTEMS_ADA__.
* 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-021-0/+9
| | | | | | | | | * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getservbyname.c, libnetworking/libc/getservbyport.c: Add initial versions of getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this point they are just simple weappers for the version without the _r in the name.
* 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-011-0/+5
| | | | | * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h: Review association tables in monitor.
* 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-06-301-0/+10
| | | | | | | | | | * configure.ac, rtems/src/semtranslatereturncode.c, score/include/rtems/score/coremutex.h, score/include/rtems/score/thread.h, score/inline/rtems/score/coremutex.inl, score/src/coremutex.c, score/src/coremutexsurrender.c, score/src/threadinitialize.c: Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
* 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-06-301-0/+6
| | | | | | * configure.ac: Add AM_CONDITIONAL(LIBGNAT). * libgnat/Makefile.am: Use LIBGNAT. * wrapup/Makefile.am: Use LIBGNAT.
* 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-06-301-0/+5
| | | | | * acinclude.m4: Add magic to update cpuopt.h. * configure.ac: Remove magic to update cpuopt.h.
* 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-06-301-0/+6
| | | | | | * acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI. * configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI. Cleanup mal-formated RTEMS_CPUOPT's.
* 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-06-301-0/+5
| | | | | * aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING. AC_PREREQ(2.62).
* 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>Chris Johns2008-06-191-0/+5
| | | | | * sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather than a number.
* 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-171-0/+12
| | | | | | | | | | | | * sapi/include/confdefs.h: When you disabled newlib reentrancy, it still reserved memory for the reentrancy structure. This is about 1K per task. On psim, we now reserve only 1936 bytes and only 240 remain after all allocations. Further analysis will be required to narrow that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can be defined and the structure named Configuration_Memory_Debug will be instantiated. This structure contains many of the component values that go into the memory reservation computation. This is helpful when tracking down problems.
* 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-171-0/+8
| | | | | | | | * sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro was always adding heap overhead even when the number of objects configured was zero and we would not do an allocation. This resulted in an over estimation of the amount of Workspace required (~2K on minimum.exe on PowerPC).
* hris Johns <chrisj@rtems.org>Chris Johns2008-06-161-0/+8
| | | | | | | | * cpukit/sapi/include/confdefs.h: Add missing quote to string to remove warning. * cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default priority level for large memory Coldfires.
* 2008-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-161-0/+7
| | | | | | | * rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c, rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h: Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
* 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-131-0/+6
| | | | | | * sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and CONFIGURE_MAXIMUM_PRIORITY.
* 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-131-0/+13
| | | | | | | | | | | | | * posix/include/rtems/posix/pthread.h, posix/src/pthread.c, posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, score/inline/rtems/score/stack.inl, score/src/isr.c, score/src/mpci.c, score/src/threadcreateidle.c, score/src/threadinitialize.c, score/src/threadstackallocate.c: Add ability for application to configure minimum stack size. Add RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly indicate they want the configured as opposed to the recommended minimum stack size.
* 2008-06-10 Chris Johns <chrisj@rtems.org>Chris Johns2008-06-111-0/+6
| | | | | | * score/include/rtems/score/priority.h: Let the CPU define the maximum and minimum priority levels to reduce the amount of memory thread chains use.
* 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-061-0/+13
| | | | | | | | | | | | | * rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/eventset.h, rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve Classic API Doxygen.
* 2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-061-0/+6
| | | | | | * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h: Complete previous patch. Add typedef for cpu usage statistics.
* 2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-061-0/+13
| | | | | | | | | | | | | * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c, rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Add typedefs for cpu usage and period timing statistics. Also renamed related variables and structure members so they are the same whether you are using nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t) granularity. This lays the groundwork for future cleanup.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-051-0/+8
| | | | | | | | * sapi/include/confdefs.h: Rework to be more accurate on allocation. In particular, there was a report from that Matthew Riek that memory was being reserved twice for the IDLE task. This was covering up other places that under allocated memory. Before I was done, I had reworked the file to be easier to read, maintain and be more accurate.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-051-0/+6
| | | | | | * score/include/rtems/score/isr.h, score/src/isr.c: Use CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating memory for vector table.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-051-0/+4
| | | | * score/src/wkspace.c: Fix error in comment.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-051-0/+7
| | | | | | | * posix/src/psignal.c: Do not allocate any memory for queued signals if the configuration parameter is 0. Before we would end up with an allocation of 0 which rounded up and wasted some memory when POSIX was configured.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-051-0/+5
| | | | | * libcsupport/src/newlibc_exit.c: Only run the fini section on exit if the target toolset uses init/fini sections.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-051-0/+8
| | | | | | | | * itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently has no functional data in the user extension data area structure so this disables the definition, allocation and deallocation of that structure. If we ever have to add data to it, then it will be easy to reenable.
* 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-041-0/+6
| | | | | | * score/src/objectgetinfo.c, score/src/objectidtoname.c, score/src/threadget.c: Make sure the pointer to the API object table is valid before derefencing it.
* 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-021-0/+5
| | | | | * score/include/rtems/score/interr.h, score/src/interr.c: Convention calls for leading underscore on private RTEMS variables.
* 2008-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-05-311-0/+6
| | | | | | * score/include/rtems/score/object.h, score/include/rtems/score/watchdog.h: Move #include's out of extern "C" {}.
* 2008-05-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-301-0/+6
| | | | | | * libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to release node if rtems_filesystem_evaluate_path() fails in nfs_eval_link() since pathloc contains no valid node.
* 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-271-0/+6
| | | | | | * libmisc/shell/shell_getchar.c: Minor change so dropping connection while at prompt results in shell logging out and connection still being available.