summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/io.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-28sapi/src/*.c: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2020-12-02sapi: Canonicalize @defgroup and @file commentsSebastian Huber1-2/+4
Adjust group identifier and names to be in line with a common pattern. Use common phrases for the group and file brief descriptions. Update #3706.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2016-03-14score: Use ISR lock for IO driver registrationSebastian Huber1-1/+1
Create implementation header file. Update #2555.
2015-04-17sapi: Avoid declaration in source, fix typeSebastian Huber1-2/+2
2015-04-17IO_MANAGER: early dynamic driver registrationDaniel Hellstrom1-0/+4
Adds the possibility to register drivers before the IO Manager has completed the initialization. Sometimes the BSP may want to register a driver dynamically early in the boot process.
2014-04-10score: Statically initialize IO managerSebastian Huber1-56/+0
This simplifies the RTEMS initialization and helps to avoid a memory overhead. The workspace demands of the IO manager were not included in the <rtems/confdefs.h> workspace size estimate. This is also fixed as a side-effect. Update documentation and move "Specifying Application Defined Device Driver Table" to the section end. This sub-section is not that important for the user. Mentioning this at the beginning may lead to confusion.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2012-12-07sapi misc: Clean up Doxygen GCI task #1Christopher Kerl1-21/+8
http://www.google-melange.com/gci/task/view/google/gci2012/8011204
2012-11-07sapi: Use rtems_config*_get_device_driver_tableSebastian Huber1-1/+1
2012-11-07sapi: Use rtems_conf*_get_number_of_device_driversSebastian Huber1-1/+1
2012-11-07sapi: Use rtems_configuration_get_maximum_driversSebastian Huber1-1/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+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.
2010-11-042010-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* libmisc/stackchk/check.c: Make compile again. * sapi/src/io.c, score/src/heap.c: Address dead assignment issues found by clang.
2009-11-29Whitespace removal.Ralf Corsepius1-1/+1
2008-12-172008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-7/+11
* 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.
2007-05-292007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-292/+4
* 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-292007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-23/+75
* 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-282007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-70/+1
* 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-04-172007-04-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-117/+97
* 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.
2006-11-152006-11-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* sapi/src/io.c: Fix spacing.
2006-01-082006-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* sapi/include/rtems/io.h, sapi/src/io.c: Change rtems_io_register_name to take a const char *.
2005-01-282005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+4
* 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.
2004-04-16Remove stray white spaces.Ralf Corsepius1-18/+18
2004-04-15Remove stray white spaces.Ralf Corsepius1-1/+0
2004-03-292004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-6/+6
* 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.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* 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-02-032003-02-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-40/+0
PR 338/filesystem * include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
2002-08-302002-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* src/io.c: Fixed some spacing.
2001-10-162001-10-16 Chris Johns <ccj@acm.org>Joel Sherrill1-9/+121
* 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.
2000-09-282000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-6/+6
* include/rtems/io.h (rtems_driver_address_table): Added "_entry" to all names. * src/io.c: Accounted for above.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1998-11-23Added base version of file system infrastructure. This includes a majorJoel Sherrill1-0/+4
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-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1996-02-21Changed io manager initialization routine to not be static and added it here.Joel Sherrill1-0/+37
1995-10-31typos fixedJoel Sherrill1-10/+19
1995-09-26posix support initially addedJoel Sherrill1-2/+2
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-12/+17
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-08-17Numerous miscellaneous features incorporated from Tony BennettJoel Sherrill1-145/+123
(tbennett@divnc.com) including the following major additions: + variable length messages + named devices + debug monitor + association tables/variables
1995-05-24Fully tested on all in-house targetsJoel Sherrill1-3/+3