summaryrefslogtreecommitdiff
path: root/cpukit/libmisc/devnull (follow)
AgeCommit message (Collapse)Author
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber
This order change fixes the Latex documentation build via Doxygen.
2018-01-25Remove make preinstallChris Johns
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.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-01-10cpukit: Doxygen group fixes and many warnings addressedJoel Sherrill
The output of the modules.html is much improved. Most filesystem and POSIX API related groups are properly nested. Some formatting issues were addressed as were multiple inconsistencies.
2013-01-04libmisc: Doxygen Clean Up Task #1Ayush Awasthi
Conflicts occured durning this patch and modifications in the repo were favored over the patch.
2012-12-28Header File Doxygen Enhancement Task #1Alex Ivanov
2012-12-28Header File Doxygen Enhancement Task #11Mathew Kallada
2012-12-21libmisc: Doxygen Enhancement Task #1Mathew Kallada
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
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-06-242011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/endian.h, include/rtems/fs.h, include/rtems/irq.h, include/rtems/pci.h, include/rtems/userenv.h, libblock/include/rtems/flashdisk.h, libblock/include/rtems/nvdisk-sram.h, libblock/include/rtems/nvdisk.h, libcsupport/include/clockdrv.h, libcsupport/include/console.h, libcsupport/include/iosupp.h, libcsupport/include/spurious.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/error.h, libcsupport/include/rtems/framebuffer.h, libcsupport/include/rtems/gxx_wrappers.h, libcsupport/include/rtems/libcsupport.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/malloc.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/sys/statvfs.h, libcsupport/include/sys/termios.h, libcsupport/include/sys/utsname.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libfs/src/imfs/imfs.h, libfs/src/pipe/pipe.h, libmisc/capture/capture-cli.h, libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.h, libmisc/devnull/devnull.h, libmisc/devnull/devzero.h, libmisc/dumpbuf/dumpbuf.h, libmisc/fb/fb.h, libmisc/fb/mw_uid.h, libmisc/mouse/mouse_parser.h, libmisc/shell/shellconfig.h, libmisc/stringto/stringto.h, libmisc/untar/untar.h, libnetworking/memory.h, posix/include/aio.h, posix/include/mqueue.h, posix/include/semaphore.h, posix/include/rtems/posix/aio_misc.h, posix/include/rtems/posix/barrier.h, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/config.h, posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/posixapi.h, posix/include/rtems/posix/priority.h, posix/include/rtems/posix/psignal.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/ptimer.h, posix/include/rtems/posix/rwlock.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/sigset.h, posix/include/rtems/posix/spinlock.h, posix/include/rtems/posix/threadsup.h, posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/cond.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/mutex.inl, posix/inline/rtems/posix/priority.inl, posix/inline/rtems/posix/pthread.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/spinlock.inl, posix/inline/rtems/posix/timer.inl, rtems/mainpage.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/timer.h, rtems/inline/rtems/rtems/barrier.inl, rtems/inline/rtems/rtems/timer.inl, rtems/src/semtranslatereturncode.c, sapi/include/rtems/config.h, sapi/include/rtems/fatal.h, sapi/include/rtems/mptables.h, score/include/rtems/score/object.h, score/include/rtems/score/priority.h, score/inline/rtems/score/object.inl, score/inline/rtems/score/priority.inl: Add @file Doxygen directives and descriptions to files which originated with RTEMS. This improves the file list page generated by Doxygen.
2011-05-132011-05-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* libmisc/devnull/devzero.c, libmisc/devnull/devzero.h: New files. * libmisc/Makefile.am, Makefile.am, preinstall.am: Reflect changes above.
2011-02-232011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h: Fix header guard. Add missing includes.
2009-01-02Add __attribute__((unused)) to unused function args.Ralf Corsepius
2004-04-16Remove stray white spaces.Ralf Corsepius
2004-03-262004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius
* libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c, libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h, libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/monitor/symbols.h, libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c, libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c, libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c, libmisc/stackchk/internal.h: Convert to using c99 fixed size types.
2004-03-08Unused.Ralf Corsepius
2003-11-282003-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* capture/Makefile.am: Remove. * cpuuse/Makefile.am: Remove. * devnull/Makefile.am: Remove. * dummy/Makefile.am: Remove. * dumpbuf/Makefile.am: Remove. * fsmount/Makefile.am: Remove. * monitor/Makefile.am: Remove. * mw-fb/Makefile.am: Remove. * rtmonuse/Makefile.am: Remove. * serdbg/Makefile.am: Remove. * shell/Makefile.am: Remove. * stackchk/Makefile.am: Remove. * untar/Makefile.am: Remove. * Makefile.am: Merge-in the Makefile.ams above.
2003-11-202003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* capture/config.h: Remove. * capture/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * cpuuse/config.h: Remove. * cpuuse/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * devnull/config.h: Remove. * devnull/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * dummy/config.h: Remove. * dummy/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * dumpbuf/config.h: Remove. * dumpbuf/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * monitor/config.h: Remove. * monitor/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * mw-fb/config.h: Remove. * mw-fb/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * rtmonuse/config.h: Remove. * rtmonuse/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * serdbg/config.h: Remove. * serdbg/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * shell/config.h: Remove. * shell/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * stackchk/config.h: Remove. * stackchk/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir). * untar/config.h: Remove. * untar/Makefile.am: Remove config.h. AM_CPPFLAGS += -I$(top_builddir).
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c, devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c, dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h, serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c, stackchk/internal.h, stackchk/stackchk.h, untar/untar.c, untar/untar.h: URL for license changed.
2003-07-082003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* configure.ac: Remove (Merged into ../configure.ac). * Makefile.am: Reflect having merged configure.ac into ../configure.ac. * capture/config.h: New. * capture/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * cpuuse/config.h: New. * cpuuse/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * devnull/config.h: New. * devnull/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * dummy/config.h: New. * dummy/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * dumpbuf/config.h: New. * dumpbuf/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * monitor/config.h: New. * monitor/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * mw-fb/config.h: New. * mw-fb/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * rtmonuse/config.h: New. * rtmonuse/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * serdbg/config.h: New. * serdbg/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * shell/config.h: New. * shell/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * stackchk/config.h: New. * stackchk/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * untar/config.h: New. * untar/Makefile.am: Add config.h. Reflect having merged configure.ac into ../configure.ac. * wrapup/Makefile.am: Reflect having merged configure.ac into ../configure.ac.
2003-07-082003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* capture/capture-cli.c: Add config-header support. * capture/capture.c: Add config-header support. * cpuuse/cpuuse.c: Add config-header support. * devnull/devnull.c: Add config-header support. * dummy/dummy.c: Add config-header support. * dumpbuf/dumpbuf.c: Add config-header support. * monitor/mon-command.c: Add config-header support. * monitor/mon-config.c: Add config-header support. * monitor/mon-dname.c: Add config-header support. * monitor/mon-driver.c: Add config-header support. * monitor/mon-extension.c: Add config-header support. * monitor/mon-itask.c: Add config-header support. * monitor/mon-manager.c: Add config-header support. * monitor/mon-monitor.c: Add config-header support. * monitor/mon-mpci.c: Add config-header support. * monitor/mon-object.c: Add config-header support. * monitor/mon-prmisc.c: Add config-header support. * monitor/mon-queue.c: Add config-header support. * monitor/mon-server.c: Add config-header support. * monitor/mon-symbols.c: Add config-header support. * monitor/mon-task.c: Add config-header support. * mw-fb/mw_fb.c: Add config-header support. * mw-fb/mw_uid.c: Add config-header support. * rtmonuse/rtmonuse.c: Add config-header support. * serdbg/serdbg.c: Add config-header support. * serdbg/serdbgio.c: Add config-header support. * serdbg/termios_printk.c: Add config-header support. * shell/cmds.c: Add config-header support. * stackchk/check.c: Add config-header support. * untar/untar.c: Add config-header support.
2003-01-242002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG). * capture/Makefile.am: Use *.a instead of *-tmp.a. * cpuuse/Makefile.am: Use *.a instead of *-tmp.a. * devnull/Makefile.am: Use *.a instead of *-tmp.a. * dummy/Makefile.am: Use *.a instead of *-tmp.a. * dumpbuf/Makefile.am: Use *.a instead of *-tmp.a. * monitor/Makefile.am: Use *.a instead of *-tmp.a. * mw-fb/Makefile.am: Use *.a instead of *-tmp.a. * rtmonuse/Makefile.am: Use *.a instead of *-tmp.a. * serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true. * shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true. * stackchk/Makefile.am: Use *.a instead of *-tmp.a. * untar/Makefile.am: Use *.a instead of *-tmp.a. * wrapup/Makefile.am: Reflect changes above.
2002-12-122002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* configure.ac: Require autoconf-2.57+automake-1.7.2. * capture/Makefile.am: Eliminate C_O_FILES. * cpuuse/Makefile.am: Ditto. * devnull/Makefile.am: Ditto. * dummy/Makefile.am: Ditto. * dumpbuf/Makefile.am: Ditto. * monitor/Makefile.am: Ditto. * rtmonuse/Makefile.am: Ditto. * serdbg/Makefile.am: Ditto. * shell/Makefile.am: Ditto. * stackchk/Makefile.am: Ditto. * untar/Makefile.am: Ditto. * mw-fb/Makefile.am: Eliminate C_O_FILES. Eliminate SRCS.
2002-12-122002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
Moving libmisc from rtems/c/src to rtems/cpukit. * Makefile.am: Reflect new path. * configure.ac: Reflect new path. Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP. Remove RTEMS_PROJECT_ROOT. * capture/Makefile.am: Reflect new path. Remove OBJS from all-local. * cpuuse/Makefile.am: Ditto. * devnull/Makefile.am: Ditto. * dummy/Makefile.am: Ditto. * dumpbuf/Makefile.am: Ditto. * monitor/Makefile.am: Ditto. * mw-fb/Makefile.am: Ditto. * rtmonuse/Makefile.am: Ditto. * serdbg/Makefile.am: Ditto. * shell/Makefile.am: Ditto. * stackchk/Makefile.am: Ditto. * untar/Makefile.am: Ditto. * wrapup/Makefile.am: Reflect new path.
2002-12-102002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* capture/Makefile.am: Don't include @RTEMS_BSP@.cfg. * cpuuse/Makefile.am: Don't include @RTEMS_BSP@.cfg. * devnull/Makefile.am: Don't include @RTEMS_BSP@.cfg. * dummy/Makefile.am: Don't include @RTEMS_BSP@.cfg. * dumpbuf/Makefile.am: Don't include @RTEMS_BSP@.cfg. * monitor/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mw-fb/Makefile.am: Don't include @RTEMS_BSP@.cfg. * rtmonuse/Makefile.am: Don't include @RTEMS_BSP@.cfg. * serdbg/Makefile.am: Don't include @RTEMS_BSP@.cfg. * shell/Makefile.am: Don't include @RTEMS_BSP@.cfg. * stackchk/Makefile.am: Don't include @RTEMS_BSP@.cfg. * untar/Makefile.am: Don't include @RTEMS_BSP@.cfg. * wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius
* capture/Makefile.am: Use .$(OBJEXT) instead of .o. * cpuuse/Makefile.am: Use .$(OBJEXT) instead of .o. * devnull/Makefile.am: Use .$(OBJEXT) instead of .o. * dummy/Makefile.am: Use .$(OBJEXT) instead of .o. * dumpbuf/Makefile.am: Use .$(OBJEXT) instead of .o. * monitor/Makefile.am: Use .$(OBJEXT) instead of .o. * mw-fb/Makefile.am: Use .$(OBJEXT) instead of .o. * rtmonuse/Makefile.am: Use .$(OBJEXT) instead of .o. * serdbg/Makefile.am: Use .$(OBJEXT) instead of .o. * shell/Makefile.am: Use .$(OBJEXT) instead of .o. * stackchk/Makefile.am: Use .$(OBJEXT) instead of .o. * untar/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill
* configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS. * cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS. * devnull/Makefile.am: Remove AUTOMAKE_OPTIONS. * dummy/Makefile.am: Remove AUTOMAKE_OPTIONS. * dumpbuf/Makefile.am: Remove AUTOMAKE_OPTIONS. * monitor/Makefile.am: Remove AUTOMAKE_OPTIONS. * mw-fb/Makefile.am: Remove AUTOMAKE_OPTIONS. * rootfs/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS. * shell/Makefile.am: Remove AUTOMAKE_OPTIONS. * stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS. * untar/Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-09-282001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill
* untar/Makefile.am: Use 'PREINSTALL_FILES ='. * monitor/Makefile.am: Use 'PREINSTALL_FILES ='. * shell/Makefile.am: Use 'PREINSTALL_FILES ='. * devnull/Makefile.am: Use 'PREINSTALL_FILES ='. * dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='. * mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='. * stackchk/Makefile.am: Use 'PREINSTALL_FILES ='. * rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='. * cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='. * rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-132001-09-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* devnull/devnull.c: Eliminate warning.
2001-04-202001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* devnull/devnull.c (null_initialize): Added check to ensure that the driver is only initialized once. Otherwise, it will abort when the device /dev/null is present. (null_write): Do not dereference a NULL pointer.
2001-02-052001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill
* untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am, devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am, stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2001-01-052001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* devnull: New addition. Moved from libcpu/sh. * devnull/devnull.c, devnull/devnull.h, devnull/.cvsignore, devnull/Makefile.am: New files. * Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect addition of above.