summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/io.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2023-02-14doxygen: Use @anchor for appl config optionsSebastian Huber1-2/+2
The application configuration options are documented in "cpukit/doxygen/appl-config.h". Since the application configuration option defines are also present in multiple test program sources, the "#OPTION" references cannot be mapped to a unique definition. Add an anchor for each option and reference it to avoid the issues with the multiple definitions. Update #3994.
2021-06-15Use a common phrase for pointer parametersSebastian Huber1-3/+4
Mention the type of the pointer in the parameter description. Use the more general term "object" instead of "variable". Update #3993.
2021-02-17rtems: Clarify IO manager documentationSebastian Huber1-2/+2
Unify the wording across similar directives of other managers. Update #3993.
2021-01-27rtems: Add "Notes" paragraph headerSebastian Huber1-56/+72
Place the paragraphs in the same order as the directive documentation in the RTEMS Classic API Guide. Update #3993.
2021-01-25Improve file header comment in generated filesSebastian Huber1-3/+7
2020-11-12Improve automatically generated warningSebastian Huber1-5/+4
2020-10-11rtems: Generate <rtems/io.h>Sebastian Huber1-114/+369
The manager documentation is a consolidation of the comments in Doxygen markup and the documentation sources in Sphinx markup. The documentation was transfered to interface specification items. This header file was generated from the items by a script. Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993.
2020-09-29rtems: Remove rtems_io_driver_io_error()Sebastian Huber1-11/+0
The implementation was added and removed in 2009.
2020-07-14rtems: Remove deprecated rtems_io_lookup_name()Sebastian Huber1-16/+1
Close #3420.
2019-04-02doxygen: Restructured cpukit/include/rtems/rtemsAndreas Dachsberger1-1/+1
Update #3706.
2018-01-25Remove make preinstallChris Johns1-0/+0
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2016-03-14score: Use ISR lock for IO driver registrationSebastian Huber1-13/+0
Create implementation header file. Update #2555.
2016-03-14score: Delete unused SAPI_IO_EXTERNSebastian Huber1-4/+0
Update #2559.
2015-10-26basdefs.h: Add and use RTEMS_DEPRECATEDSebastian Huber1-1/+1
2015-04-17sapi: Avoid declaration in source, fix typeSebastian Huber1-0/+2
2014-04-10score: Statically initialize IO managerSebastian Huber1-11/+2
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
2013-01-10cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill1-3/+2
This is the result of a sed script which converts all uses of @{ into a consistent form.
2013-01-08sapi: Doxygen Clean Up Task #1Alex Ivanov1-47/+47
2012-12-28Header File Doxygen Enhancement Task #1Alex Ivanov1-3/+1
2012-12-18libfs: Doxygen Enhancement Task #2Alex Ivanov1-1/+6
http://www.google-melange.com/gci/task/view/google/gci2012/8032207
2012-12-09sapi: Fix previous commitSebastian Huber1-23/+1
2012-12-07sapi misc: Clean up Doxygen GCI task #1Christopher Kerl1-8/+104
http://www.google-melange.com/gci/task/view/google/gci2012/8011204
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.
2011-10-102011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libfs/src/devfs/devfs_mknod.c: Remove const cast. * libfs/src/imfs/ioman.c: Remove const cast. * libfs/src/devfs/devfs.h: Make device_name a const char*. * sapi/include/rtems/io.h: Make device_name a const char*.
2009-11-29Whitespace removal.Ralf Corsepius1-1/+1
2009-10-092009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill1-0/+2
* cpukit/sapi/include/rtems/io.h: Documentation. * cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is an error. * cpukit/sapi/src/iounregisterdriver.c: Disable preemption during critical section.
2009-10-052009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill1-161/+91
* sapi/include/rtems/io.h, sapi/src/ioregisterdriver.c: Documenation. rtems_io_lookup_name() is now deprecated. Added rtems_io_driver_io_error(). rtems_io_register_driver() is now thread-safe.
2009-02-05Move extern "C" brace after includes.Ralf Corsepius1-2/+2
2008-12-172008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-6/+2
* 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-05-27Added const qualifier to various pointers and data tables toThomas Doerfler1-1/+1
reduce size of data area. IMFS: Fixed creation of symbolic links to avoid a compiler warning. DOSFS: Use LibBlock instead of read() to read the boot record.
2007-05-292007-05-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+6
* 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-282007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+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.
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-28New header guard.Ralf Corsepius1-2/+2
2005-01-182005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* sapi/include/rtems/io.h : size_t device_name_length.
2004-11-21Add doxygen preamble.Ralf Corsepius1-2/+5
2004-04-16Remove stray white spaces.Ralf Corsepius1-4/+4
2004-03-292004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-8/+8
* 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-1/+1
PR 338/filesystem * include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
2001-10-162001-10-16 Chris Johns <ccj@acm.org>Joel Sherrill1-0/+29
* 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-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-05-28split the inclusion of "EXTERN" data based on whether it was sapi,Joel Sherrill1-4/+4
score, rtems api, or posix api related.
1996-02-21changed io manager initialization routine to not be staticJoel Sherrill1-3/+1