summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-06-201-14/+18
| | | | | * sapi/include/confdefs.h: Do not instantiate initialization thas/thread pointer tables for an API that is not configured.
* 2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-06-201-0/+5
| | | | | * sapi/include/confdefs.h: POSIX threads use twice the minimum stack size. Account for this.
* 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-2912-296/+466
| | | | | | | | | | * sapi/Makefile.am, sapi/include/rtems/io.h, sapi/src/io.c: Split into one function per file execpt io.c which contains required initialization methods. * sapi/src/ioclose.c, sapi/src/iocontrol.c, sapi/src/iodata.c, sapi/src/ioinitialize.c, sapi/src/ioopen.c, sapi/src/ioread.c, sapi/src/ioregisterdriver.c, sapi/src/iounregisterdriver.c, sapi/src/iowrite.c: New files.
* 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-292-28/+80
| | | | | | | | * sapi/include/confdefs.h, sapi/src/io.c: Readded code to copy driver table into Workspace but now it is only done if the application needs extra slots for dynamic driver registration. Cleaned up rtems_io_register_driver and rtems_io_unregister_driver code and added numerous error cases to register.
* 2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-285-98/+22
| | | | | | | | | | | | | * libmisc/Makefile.am, libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers configuration parameter since it was used to configure a no longer used feature. Device names are now part of the filesystem not in a table. This also eliminated the variables _IO_Number_of_devices and _IO_Driver_name_table from RTEMS as well as the memory allocation used to populate _IO_Driver_name_table. * libmisc/monitor/mon-dname.c: Removed.
* 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-231-6/+22
| | | | | | | | | * sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for unused Workspace. Round the workspace required size to an 8 byte boundary instead of a 0x400 byte one. We may end up needing to add 8 bytes again to account for the alignment rounding.
* 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-221-0/+6
| | | | | | | | | * score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c, score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c, score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c, score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c, cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared executive initialization.
* Split Classic API data instantiation into individual files. This reduces ↵Joel Sherrill2007-05-214-10/+34
| | | | the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space.
* 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-111-0/+6
| | | | | | | * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is an optional manager, we cannot depend on it do initialize the internal Allocator Mutex. This was always a questionable place to do it, so this is a cleanup.
* 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-094-61/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c, sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/userext.h, score/src/chain.c, score/src/userext.c: Switch to newlib reentrancy extension being installed in the initial set instead of using rtems_extension_create. While implementing this, noticed that user extensions and chain code had multiple functions in a single file which is not desirable in the SuperCore and API portions of RTEMS, so split these into multiple files with one function per file. Also noticed that some of user extension code was inlined for no particular reason so moved that to C bodies. Split executive shutdown from initialization since not every application shuts down. Moved __fini call to executive shutdown to be more symmetrical with where it is called at startup. * sapi/src/exshutdown.c, score/src/chainappend.c, score/src/chainextract.c, score/src/chainget.c, score/src/chaininsert.c, score/src/userextaddapiset.c, score/src/userextaddset.c, score/src/userextremoveset.c, score/src/userextthreadbegin.c, score/src/userextthreadcreate.c, score/src/userextthreaddelete.c, score/src/userextthreadrestart.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New files. * score/inline/rtems/score/userext.inl: Removed.
* 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-091-1/+3
| | | | | * libcsupport/src/error.c, sapi/include/rtems/config.h: Do not reference _Configuration_MP_table if multiprocessing is disabled.
* 2007-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-05-031-5/+2
| | | | | | | | | | | | | | | | | * ChangeLog, libcsupport/src/malloc.c, libcsupport/src/mallocfreespace.c, sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: malloc never blocks so the Region Manager is quite heavy for implementing this. This patch implements the C Program Heap directly in terms of the new Protected Heap handler. This handler is a direct use of a SuperCore Heap in conjunction with the Allocator Mutex used internally by RTEMS. This saves 3184 bytes on most SPARC test executables. * score/include/rtems/score/protectedheap.h, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapfree.c, score/src/pheapgetblocksize.c, score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c, score/src/pheapinit.c, score/src/pheapresizeblock.c, score/src/pheapwalk.c: New files.
* 2007-04-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-04-172-117/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * itron/Makefile.am, itron/src/eventflags.c, itron/src/fmempool.c, itron/src/itronintr.c, itron/src/itrontime.c, itron/src/network.c, itron/src/port.c, itron/src/sysmgmt.c, itron/src/task.c, itron/src/vmempool.c, posix/Makefile.am, posix/src/pthread.c, rtems/src/taskinitusers.c, rtems/src/tasks.c, sapi/include/confdefs.h, sapi/src/io.c: Various modification to reduce executable size. Most were refactoring of files. Split ITRON API files. Implemented mechanism to avoid initialization task/thread loop being linked in when that style of task initialization was not being used. * itron/src/acp_por.c, itron/src/act_cyc.c, itron/src/cal_por.c, itron/src/chg_iXX.c, itron/src/clr_flg.c, itron/src/cre_flg.c, itron/src/cre_mpf.c, itron/src/cre_mpl.c, itron/src/cre_por.c, itron/src/def_alm.c, itron/src/def_cyc.c, itron/src/def_exc.c, itron/src/def_int.c, itron/src/def_svc.c, itron/src/del_flg.c, itron/src/del_mpf.c, itron/src/del_mpl.c, itron/src/del_por.c, itron/src/dis_int.c, itron/src/dly_tsk.c, itron/src/ena_int.c, itron/src/fwd_por.c, itron/src/get_blf.c, itron/src/get_blk.c, itron/src/get_tim.c, itron/src/get_ver.c, itron/src/itroninittasks.c, itron/src/loc_cpu.c, itron/src/nget_nod.c, itron/src/nget_ver.c, itron/src/nrea_dat.c, itron/src/nwri_dat.c, itron/src/pacp_por.c, itron/src/pcal_por.c, itron/src/pget_blf.c, itron/src/pget_blk.c, itron/src/pol_flg.c, itron/src/ref_alm.c, itron/src/ref_cfg.c, itron/src/ref_cyc.c, itron/src/ref_flg.c, itron/src/ref_iXX.c, itron/src/ref_mpf.c, itron/src/ref_mpl.c, itron/src/ref_por.c, itron/src/ref_sys.c, itron/src/rel_blf.c, itron/src/rel_blk.c, itron/src/ret_int.c, itron/src/ret_tmr.c, itron/src/ret_wup.c, itron/src/rpl_rdv.c, itron/src/set_flg.c, itron/src/set_tim.c, itron/src/tacp_por.c, itron/src/tcal_por.c, itron/src/tget_blf.c, itron/src/tget_blk.c, itron/src/twai_flg.c, itron/src/unl_cpu.c, itron/src/wai_flg.c, posix/src/pthreadinitthreads.c: New files.
* 2007-03-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-101-2/+2
| | | | | | PR 1226/cpukit * sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
* 2007-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-081-24/+2
| | | | * libfs/src/imfs/imfs.h: Fix comment.
* 2007-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-051-1/+0
| | | | * sapi/src/exinit.c: Fix spacing.
* Regenerate.Ralf Corsepius2007-01-081-1/+1
|
* 2006-11-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-11-151-1/+1
| | | | * sapi/src/io.c: Fix spacing.
* * sapi/include/confdefs.h: Enable includes needed for new objects.Joel Sherrill2006-11-151-3/+3
|
* 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2006-11-151-8/+0
| | | | * sapi/include/confdefs.h: Enable memory for new objects.
* 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2006-11-151-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/termios.c, posix/Makefile.am, posix/preinstall.am, posix/include/rtems/posix/config.h, posix/include/rtems/posix/time.h, sapi/src/posixapi.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/corerwlock.h, score/include/rtems/score/threadq.h, score/src/corerwlockobtainread.c, score/src/threadqenqueue.c, score/src/threadqtimeout.c: Adding POSIX barriers, POSIX spinlocks, and partial implementation of POSIX rwlocks. * posix/include/rtems/posix/barrier.h, posix/include/rtems/posix/rwlock.h, posix/include/rtems/posix/spinlock.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/spinlock.inl, posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c, posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c, posix/src/pbarrier.c, posix/src/pbarrierdestroy.c, posix/src/pbarrierinit.c, posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c, posix/src/prwlock.c, posix/src/prwlockdestroy.c, posix/src/prwlockinit.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/pspin.c, posix/src/pspindestroy.c, posix/src/pspininit.c, posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c, posix/src/pspintrylock.c, posix/src/pspinunlock.c, posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c, posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c: New files.
* 2006-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-10-193-70/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac, itron/Makefile.am, itron/preinstall.am, posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/system.h, score/include/rtems/score/chain.h, score/include/rtems/score/thread.h, score/src/chain.c, score/src/coremutexseize.c, score/src/threadget.c: Remove all macro implementations and use only the static inline. Static inline functions are now well supported so there is no reason for duplicate maintenance. * itron/macros/rtems/itron/eventflags.inl, itron/macros/rtems/itron/fmempool.inl, itron/macros/rtems/itron/intr.inl, itron/macros/rtems/itron/mbox.inl, itron/macros/rtems/itron/msgbuffer.inl, itron/macros/rtems/itron/network.inl, itron/macros/rtems/itron/port.inl, itron/macros/rtems/itron/semaphore.inl, itron/macros/rtems/itron/sysmgmt.inl, itron/macros/rtems/itron/task.inl, itron/macros/rtems/itron/time.inl, itron/macros/rtems/itron/vmempool.inl, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/key.inl, posix/macros/rtems/posix/mqueue.inl, posix/macros/rtems/posix/mutex.inl, posix/macros/rtems/posix/priority.inl, posix/macros/rtems/posix/pthread.inl, posix/macros/rtems/posix/semaphore.inl, posix/macros/rtems/posix/timer.inl, rtems/macros/rtems/rtems/asr.inl, rtems/macros/rtems/rtems/attr.inl, rtems/macros/rtems/rtems/barrier.inl, rtems/macros/rtems/rtems/dpmem.inl, rtems/macros/rtems/rtems/event.inl, rtems/macros/rtems/rtems/eventset.inl, rtems/macros/rtems/rtems/message.inl, rtems/macros/rtems/rtems/modes.inl, rtems/macros/rtems/rtems/options.inl, rtems/macros/rtems/rtems/part.inl, rtems/macros/rtems/rtems/ratemon.inl, rtems/macros/rtems/rtems/region.inl, rtems/macros/rtems/rtems/sem.inl, rtems/macros/rtems/rtems/status.inl, rtems/macros/rtems/rtems/support.inl, rtems/macros/rtems/rtems/tasks.inl, rtems/macros/rtems/rtems/timer.inl, sapi/macros/rtems/extension.inl, score/macros/README, score/macros/rtems/score/address.inl, score/macros/rtems/score/chain.inl, score/macros/rtems/score/corebarrier.inl, score/macros/rtems/score/coremsg.inl, score/macros/rtems/score/coremutex.inl, score/macros/rtems/score/corerwlock.inl, score/macros/rtems/score/coresem.inl, score/macros/rtems/score/corespinlock.inl, score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl, score/macros/rtems/score/mppkt.inl, score/macros/rtems/score/object.inl, score/macros/rtems/score/objectmp.inl, score/macros/rtems/score/priority.inl, score/macros/rtems/score/stack.inl, score/macros/rtems/score/states.inl, score/macros/rtems/score/sysstate.inl, score/macros/rtems/score/thread.inl, score/macros/rtems/score/threadmp.inl, score/macros/rtems/score/tod.inl, score/macros/rtems/score/tqdata.inl, score/macros/rtems/score/userext.inl, score/macros/rtems/score/watchdog.inl, score/macros/rtems/score/wkspace.inl: Removed.
* 2006-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-10-181-1/+1
| | | | | | * sapi/include/confdefs.h: s/STACK_CHECKER_EXTENSION/RTEMS_STACK_CHECKER_EXTENSION/ (Reflect 2006-09-13's changes to libmisc/stackchk).
* 2006-09-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-09-252-8/+18
| | | | | | | * libnetworking/net/route.c, librpc/src/rpc/auth_none.c, librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c, librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c, librpc/src/rpc/rtems_portmapper.c: Removed warnings.
* 2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2006-09-253-4/+72
| | | | | * sapi/include/confdefs.h, sapi/src/posixapi.c, sapi/src/rtemsapi.c: Add Classic API Barriers and commented out hooks to initialize .
* applied patches for PR1117/1118/1119/1120Thomas Doerfler2006-07-091-1/+74
|
* 2006-06-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-06-081-1/+1
| | | | | | | * posix/Makefile.am, posix/preinstall.am, posix/include/rtems/posix/timer.h, posix/src/ptimer.c, posix/src/ptimer1.c, sapi/src/posixapi.c, score/include/rtems/score/object.h:
* Regenerate.Ralf Corsepius2006-01-141-1/+1
|
* Regenerate.Ralf Corsepius2006-01-121-0/+2
|
* Remove all-local.Ralf Corsepius2006-01-121-2/+0
|
* Regenerate.Ralf Corsepius2006-01-121-2/+2
|
* CleanupsRalf Corsepius2006-01-121-4/+0
|
* 2006-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-082-2/+2
| | | | | * sapi/include/rtems/io.h, sapi/src/io.c: Change rtems_io_register_name to take a const char *.
* 2005-10-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-10-251-0/+14
| | | | | | * sapi/include/confdefs.h, telnetd/pty.c, telnetd/pty.h: Attempt to fix MAX_PTYS and provide a real configuration entry. This should make telnetd some suitable for inclusion in cpukit.
* 2005-09-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-09-252-44/+0
| | | | | * sapi/include/rtems/init.h, sapi/src/exinit.c: Remove unused and obsolete rtems_initialize_executive.
* 2005-09-01 Nuno Costa <nuno-costa@iol.pt>Joel Sherrill2005-09-011-2/+3
| | | | | | PR 804 * sapi/include/confdefs.h: Memory for POSIX timers not accounted for. Patch adapted from edit comment in PR filed.
* 2005-06-09 Jacques Seronie Vivien <jacques.seronievivien@astrium.eads.net>Joel Sherrill2005-06-092-2/+6
| | | | | | | PR 790/rtems * sapi/src/extensioncreate.c, sapi/src/extensionident.c: Correct use of name. This was missed when the other ident services in rtems/src where changed.
* Auto-generated update.Ralf Corsepius2005-02-191-1/+1
|
* Split preinstallation rules in to separate files (preinstall.am).Ralf Corsepius2005-02-081-53/+4
|
* New.Ralf Corsepius2005-02-081-0/+60
|
* New header guard.Ralf Corsepius2005-01-287-14/+14
|
* 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-281-1/+0
| | | | | | | * itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am: Remove AM_CPPFLAGS += -I$(top_builddir).
* 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-2811-0/+44
| | | | | | | | * sapi/src/debug.c, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/extensioncreate.c, sapi/src/extensiondelete.c, sapi/src/extensionident.c, sapi/src/fatal.c, sapi/src/io.c, sapi/src/itronapi.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c: Include config.h.
* 2005-01-23 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-231-1/+1
| | | | | * sapi/src/fatal.c, score/src/interr.c: Remove volatile on return type.
* 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-181-1/+1
| | | | * sapi/include/rtems/io.h : size_t device_name_length.
* 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-181-1/+1
| | | | | * sapi/include/rtems/fatal.h, score/include/rtems/score/interr.h: Remove volatile on return type (GCC-4.0 complains about them).
* 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-071-1/+1
| | | | | | | | * httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
* 2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-051-7/+3
| | | | | * rtems/src/eventsurrender.c: Remove bogus type casts. * sapi/Makefile.am: Eliminate *_FILES.
* 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-011-9/+3
| | | | | | | | | * automake/compile.am, httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am, wrapup/Makefile.am: Remove build-variant support.
* Add doxygen preamble.Ralf Corsepius2004-11-219-20/+46
|