summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-0439-222/+78
| | | | | | * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-044-20/+7
| | | | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h, rtems/score/cpu.h: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-042-0/+17
| | | | | * sapi/include/rtems/config.h: Add accessory macros for Configuration Table fields merged from CPU Table.
* 2007-12-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-032-0/+10
| | | | | | * rtems/score/cpu.h: Added comment that GDB patch sim/2376 is needed for reading the time-base with the new (more portable) method.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-0327-209/+242
| | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c, posix/preinstall.am, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c, posix/src/mutexdestroy.c, posix/src/mutexinit.c, posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/include/rtems/sptables.h, sapi/src/exinit.c, score/include/rtems/system.h, score/include/rtems/score/mpci.h, score/src/mpci.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-0326-333/+119
| | | | | | | | | * rtems/score/cpu.h: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-033-30/+10
| | | | | | | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-12-03 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-034-2/+28
| | | | | | | | | * libmisc/shell/shell.h: Added comments for the parameters to the shell_init function. * libmisc/shell/shell.c: Only set cflags if tcflags is non-zero. This means the shell can use the current cflags settings and the application does not need to know the baudrate etc. * libmisc/capture/capture.h: Fix the comment.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-0/+24
| | | | | | * rtems/score/cpu.h: Wonderful bookE doesn't have mftb/mftbu; ( CPU_Get_timebase_low() ) they only define the TBRU/TBRL SPRs so we use these. Should work on all CPUs.
* 2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-3053-569/+601
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rtems/src/barrierdelete.c, rtems/src/barrierrelease.c, rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c, rtems/src/clockget.c, rtems/src/dpmemdelete.c, rtems/src/dpmemexternal2internal.c, rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c, rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c, rtems/src/msgqdelete.c, rtems/src/msgqflush.c, rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c, rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c, rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c, rtems/src/ratemontimeout.c, rtems/src/semdelete.c, rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c, rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c, rtems/src/taskdelete.c, rtems/src/taskgetnote.c, rtems/src/taskissuspended.c, rtems/src/taskrestart.c, rtems/src/taskresume.c, rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c, rtems/src/taskstart.c, rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c, rtems/src/timercancel.c, rtems/src/timerdelete.c, rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c, rtems/src/timerreset.c, rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c: Restructured all code with the switch (location) pattern so that OBJECTS_LOCAL is first and we can fall into it and the OBJECTS_ERROR case breaks to a return RTEMS_INVALID_ID. This eliminates the return RTEMS_INTERNAL_ERROR at the bottom of each of these files which was unreachable and untestable code. This resulted in a code savings of approximately 20 bytes per file on the SPARC/ERC32.
* 2007-11-30 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-302-6/+17
| | | | | | | | | * posix/Makefile.am: Restructed to move the OBJECTS_LOCAL case to the top of the switch statement and eliminate the fall-through return of POSIX_BOTTOM_REACHED. These changes produced simplier assembly code and allowed for complete test coverage. Also applied some consistency to the functions that translate the core status codes to POSIX status codes.
* 2007-11-30 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-3064-528/+714
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/semaphore.h, posix/src/cancel.c, posix/src/conddestroy.c, posix/src/condsignalsupp.c, posix/src/condwaitsupp.c, posix/src/keydelete.c, posix/src/keygetspecific.c, posix/src/keysetspecific.c, posix/src/mqueueclose.c, posix/src/mqueuegetattr.c, posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c, posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c, posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c, posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c, posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c, posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c, posix/src/pspindestroy.c, posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c, posix/src/pspintrylock.c, posix/src/pspinunlock.c, posix/src/pthreaddetach.c, posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c, posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c, posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c, posix/src/semclose.c, posix/src/semdestroy.c, posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c, rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c, rtems/src/timerfireafter.c, score/include/rtems/system.h, score/include/rtems/score/corebarrier.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h: Restructed to move the OBJECTS_LOCAL case to the top of the switch statement and eliminate the fall-through return of POSIX_BOTTOM_REACHED. These changes produced simplier assembly code and allowed for complete test coverage. Also applied some consistency to the functions that translate the core status codes to POSIX status codes. * posix/src/mutextranslatereturncode.c, posix/src/semaphoretranslatereturncode.c: New files. * posix/src/mutexfromcorestatus.c: Removed.
* 2007-11-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-302-1/+5
| | | | * posix/inline/rtems/posix/priority.inl: Fix typo.
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-286-43/+55
| | | | | | | * sapi/src/exinit.c, score/include/rtems/score/object.h, score/include/rtems/score/thread.h, score/src/object.c, score/src/thread.c: Conditionally compile out more code that is specific to multiprocessor configurations.
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-284-103/+11
| | | | | | | * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h, rtems/score/cpu.h: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
* 2007-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-2850-1391/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c, posix/src/conddestroy.c, posix/src/condinit.c, posix/src/condsignalsupp.c, posix/src/condwaitsupp.c, posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c, posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c, posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c, posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c, posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c, posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c, posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c, posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c, posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c, posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c, posix/src/semclose.c, posix/src/semdestroy.c, posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c, posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h: Remove all pretense of POSIX MP support. The support in place was only a shell. This should make maintenance easier. * posix/include/rtems/posix/condmp.h, posix/include/rtems/posix/mqueuemp.h, posix/include/rtems/posix/mutexmp.h, posix/include/rtems/posix/pthreadmp.h, posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c, posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
* 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-274-13/+44
| | | | | | | | * configure.ac, score/inline/rtems/score/thread.inl, score/src/threaddispatch.c: Add ability for user to disable inlining of _Thread_Enable_dispatch. This can save code space but more importantly it means the binary generated does not have code inlined that is difficult to test and very seldom executed.
* 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-272-0/+9
| | | | | * rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to save space.
* Fix.Joel Sherrill2007-11-271-0/+6
|
* 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-277-31/+36
| | | | | | | * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, rtems/include/rtems/rtems/barrier.h, score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c: Fixed several implementation errors.
* 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-2710-276/+310
| | | | | | | | | | | | * rtems/src/regioncreate.c, rtems/src/regiondelete.c, rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL case to the top of the switch statement, have a single exit with one call to _RTEMS_Unlock_allocator and eliminate the fall-through return of RTEMS_INTERNAL_ERROR. These changes produced simplier assembly code and allowed for complete test coverage.
* 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-272-3/+11
| | | | * sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
* 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-272-1/+7
| | | | | * libnetworking/netinet/in_cksum.c: ARM optimized version does not support Thumb.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-264-128/+155
| | | | | * telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up. Now works on gen5200/icecube.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-262-8/+6
| | | | | | * rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the SuperH CPU Table and define another mechanism for drivers to obtain this information.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-262-15/+6
| | | | | | * rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the MIPS CPU Table and define another mechanism for drivers to obtain this information.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-262-13/+6
| | | | | | * rtems/score/cpu.h: Eliminate the interrupt_table_segment and interrupt_table_offset fields in the i386 CPU Table since they are never read.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-262-9/+5
| | | | | * rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the m68k CPU Table since it is never read.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-263-2/+6
| | | | * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-262-3/+9
| | | | * libcsupport/src/malloc.c: Do not assert on free of bad pointer.
* 2007-11-26 Ray Xu <rayx.cn@gmail.com>Joel Sherrill2007-11-264-1/+13
| | | | | * cpu.c, score/cpu.h: Fix headers. Remove extra inline definition. * cpu_asm.S: Note origin of Thumb support.
* 2007-11-26 Ray Xu <rayx.cn@gmail.com>Joel Sherrill2007-11-262-27/+14
| | | | | * thumb_isr.c: Remove extra debug information, Change function definition.
* 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-262-1/+5
| | | | * score/include/rtems/score/thread.h: Fix spelling error.
* 2007-11-17 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-214-55/+190
| | | | | | | | | | | | | * libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c: Added checks so that use of 'stdio' is avoided (falling back to 'printk') before the system is up. Publish driver entry points so that the libi2c driver could be added to the applications 'device driver table'. This is not fully implemented yet, though, since in addition to initializing libi2c the low-level i2c bus drivers as well as high-level i2c device drivers need to be registered with the library. Updated README_libi2c accordingly.
* 2007-11-17 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-172-0/+10
| | | | | | * libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig (SIOCGIFMEDIA) pass the user parameter down to the ioctl so that it knows what PHY they want to look at.
* 2007-11-13 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-142-3/+25
| | | | | | | | * rtems/score/powerpc.h: Added a '__ppc_generic' CPU variant. The goal would be making cpukit and hopefully libcpu work for all (or at least most) CPUs/BSPs with -D__ppc_generic so that eventually all tests [#if defined(<cpu_flavor>)] for CPU flavors can be eliminated.
* 2007-11-13 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-142-0/+24
| | | | | * rtems/powerpc/registers.h: Added SPR definitions for BookE DECAR, TCR, TSR.
* 2007-11-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-093-20/+25
| | | | | * score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were in opposite files. Whoops!
* 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-093-367/+448
| | | | | | * libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much of the focus was on the beginning stages of making the login checker pluggable just like the shell.
* 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-092-0/+14
| | | | * posix/src/mprotect.c: Update comments.
* 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-093-1/+138
| | | | | | * posix/Makefile.am: Add support for Ada95 interrupt tasks. This will require gcc 4.3 or newer. * posix/src/ada_intrsupp.c: New file.
* 2007-11-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-098-55/+172
| | | | | | | | | | * sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/apimutex.h: API Mutex calls should never have been inlined. Inlining them lead to many inlined copies of core mutex lock. This lead to over 2K savings in the SPARC/ERC32 minimum.exe. * score/src/apimutex.c, score/src/apimutexallocate.c, score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
* 2007-11-07 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-082-1/+11
| | | | | * score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER around _CPU_ISR_Set_level().
* 2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-072-3/+25
| | | | | | | | * score/inline/rtems/score/object.inl: During test coverage analysis, we identified this sanity check which should have been conditional on RTEMS_DEBUG since it can NOT be tripped during normal RTEMS operations. With all APIs enabled, this saved 352 bytes from the minimum executable on the SPARC/ERC32.
* 2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-073-3/+24
| | | | | | | * score/include/rtems/system.h, score/include/rtems/score/interr.h: Add compiler conditional attribute for methods that do not return. This avoids gcc generating unreachable code following calls to _Internal_error_Occurred.
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-062-0/+5
| | | | * cpu.c: Fix headers.
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-062-2/+13
| | | | * thumb_isr.c: Fix headers.
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-062-0/+5
| | | | * configure.ac: Add ARM/Thumb Makefile.
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-064-0/+205
| | | | * .cvsignore, ChangeLog, Makefile.am, thumb_isr.c: New files.
* 2007-11-03 Ray Xu <rayx.cn@gmail.com>Joel Sherrill2007-11-066-17/+150
| | | | | | | | | | * cpu.c, cpu_asm.S, score/cpu.h : add support for ARM<->THUMB veneer thumb new dir to controll CPSR/SPRS in thumb mode 2007-05-09 Ray Xu <rayx.cn@gmail.com> * cpu.c: move do_data_abort() to libbsp/arm/shared/abort/ implement a compact do_data_abort() in simple_abort.c