Commit Graph

28 Commits

Author SHA1 Message Date
Joel Sherrill
790b50b8da 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/extension.h, sapi/include/rtems/io.h,
	sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c,
	score/include/rtems/score/mpci.h, score/include/rtems/score/object.h,
	score/include/rtems/score/thread.h, score/include/rtems/score/tod.h,
	score/include/rtems/score/userext.h,
	score/include/rtems/score/wkspace.h, score/src/coretod.c,
	score/src/mpci.c, score/src/object.c, score/src/thread.c,
	score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and
	SuperCore Handler initialization routines to directly pull parameters
	from configuration table.
2008-12-17 22:46:05 +00:00
Joel Sherrill
9c556023f0 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 19:56:35 +00:00
Joel Sherrill
7a03c09b43 2007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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-29 18:45:16 +00:00
Joel Sherrill
ff3f8c85c3 2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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-28 15:51:01 +00:00
Joel Sherrill
0ab34c90a2 2007-04-17 Joel Sherrill <joel@OARcorp.com>
* 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-04-17 20:32:13 +00:00
Joel Sherrill
eafa35e718 2006-11-15 Joel Sherrill <joel@OARcorp.com>
* sapi/src/io.c: Fix spacing.
2006-11-15 16:54:01 +00:00
Joel Sherrill
b34446954c 2006-01-08 Joel Sherrill <joel@OARcorp.com>
* sapi/include/rtems/io.h, sapi/src/io.c: Change rtems_io_register_name
	to take a const char *.
2006-01-08 17:57:17 +00:00
Ralf Corsepius
16351f7aa0 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* 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-28 02:04:21 +00:00
Ralf Corsepius
84860816e3 Remove stray white spaces. 2004-04-16 11:54:29 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
8bd411783a 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* sapi/include/confdefs.h, sapi/include/rtems/config.h,
	sapi/include/rtems/extension.h, sapi/include/rtems/fatal.h,
	sapi/include/rtems/init.h, sapi/include/rtems/io.h,
	sapi/src/exinit.c, sapi/src/extension.c, sapi/src/fatal.c,
	sapi/src/io.c: Convert to using c99 fixed size types.
2004-03-29 16:20:10 +00:00
Joel Sherrill
2ba508b631 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h, include/rtems/config.h,
	include/rtems/extension.h, include/rtems/fatal.h,
	include/rtems/init.h, include/rtems/io.h, include/rtems/mptables.h,
	include/rtems/sptables.h, include/rtems/sptables.h.in,
	inline/rtems/extension.inl, macros/rtems/extension.inl, src/debug.c,
	src/exinit.c, src/extension.c, src/extensioncreate.c,
	src/extensiondelete.c, src/extensionident.c, src/fatal.c, src/io.c,
	src/itronapi.c, src/posixapi.c, src/rtemsapi.c: URL for license
	changed.
2003-09-04 18:54:35 +00:00
Joel Sherrill
590cae7a98 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy
	problem with rtems_io_lookup_name() (API change).
2003-02-03 23:58:21 +00:00
Joel Sherrill
af16d17d80 2002-08-30 Joel Sherrill <joel@OARcorp.com>
* src/io.c: Fixed some spacing.
2002-08-30 11:57:16 +00:00
Joel Sherrill
059a371409 2001-10-16 Chris Johns <ccj@acm.org>
* include/confdefs.h, include/rtems/config.h, include/rtems/io.h,
	optman/no-io.c, src/exinit.c, src/io.c: Added a device driver
	register/unregister interface to allow device drivers to be
	installed and removed at runtime. This means you do not need devices
	present in the device table when you build.
2001-10-16 19:05:29 +00:00
Joel Sherrill
2e61938324 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* include/rtems/io.h (rtems_driver_address_table): Added "_entry"
	to all names.
	* src/io.c: Accounted for above.
2000-09-28 20:22:40 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
07a3253de2 Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface.  This base file system is
the "In-Memory File System" aka IMFS.

The design and implementation was done by the following people:

  + Joel Sherrill (joel@OARcorp.com)
  + Jennifer Averett (jennifer@OARcorp.com)
  + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com)
  + Kerwin Wade (wade@OARcorp.com)

PROBLEMS
========
  + It is VERY likely that merging this will break the UNIX port.  This
    can/will be fixed.

  + There is likely some reentrancy/mutual exclusion needed.

  + Eventually, there should be a "mini-IMFS" description table to
    eliminate links, symlinks, etc to save memory.  All you need to
    have "classic RTEMS" functionality is technically directories
    and device IO.  All the rest could be left out to save memory.
1998-11-23 19:07:58 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
03f2154e51 headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
1997-04-22 17:20:27 +00:00
Joel Sherrill
66d9e3ad29 Changed io manager initialization routine to not be static and added it here. 1996-02-21 22:37:55 +00:00
Joel Sherrill
c4808ca59f typos fixed 1995-10-31 21:28:16 +00:00
Joel Sherrill
5e9b32b439 posix support initially added 1995-09-26 19:27:15 +00:00
Joel Sherrill
3a4ae6c210 The word "RTEMS" almost completely removed from the core.
Configuration Table Template file added and all tests
modified to use this.  All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines.  Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized.  These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver.  Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.
1995-09-11 19:35:39 +00:00
Joel Sherrill
b06e68ef1f Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@divnc.com) including the following major additions:

  + variable length messages
  + named devices
  + debug monitor
  + association tables/variables
1995-08-17 19:51:51 +00:00
Joel Sherrill
88d594a3d5 Fully tested on all in-house targets 1995-05-24 21:39:42 +00:00
Joel Sherrill
ac7d5ef06a Initial revision 1995-05-11 17:39:37 +00:00