Commit Graph

66 Commits

Author SHA1 Message Date
Joel Sherrill
b697bc6a44 cpukit: Use Consistent Beginning of Doxygen Group Notation
This is the result of a sed script which converts all uses
of @{ into a consistent form.
2013-01-10 17:06:47 -06:00
Joel Sherrill
a15eaaf9fd cpukit: Doxygen group fixes and many warnings addressed
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-10 17:06:47 -06:00
Alex Ivanov
4027e6332c libcsupport: Doxygen Clean Up Task #1 2013-01-08 06:40:27 -06:00
Mathew Kallada
f3255a6f22 Header File Doxygen Enhancement Task #11 2012-12-28 11:30:27 -06:00
Gedare Bloom
e79a766fb3 libcsupport: Update file header for termios.h to remove link, add description. 2012-12-15 07:26:34 -05:00
Gedare Bloom
8f005260a9 libcsupport: Revert termios Doxygen. Add file header. 2012-12-13 08:06:31 -05:00
Sebastian Huber
b0da579608 termios: Implement tcflush()
New IO control RTEMS_IO_TCFLUSH.
2012-12-13 11:36:37 +01:00
Alex Ivanov
cc390b62c4 libcsupport: Doxygen enhancement GCI task #6
http://www.google-melange.com/gci/task/view/google/gci2012/7992212
2012-12-11 17:35:30 -05:00
Alex Ivanov
17c6ad6a01 libcsupport: Doxygen enhancement GCI task #4
http://www.google-melange.com/gci/task/view/google/gci2012/8009205
2012-12-11 16:51:08 -05:00
Alex Ivanov
c9bb60a94c libcsupport: GCI Doxygen Task #7
http://www.google-melange.com/gci/task/view/google/gci2012/7975223
2012-12-11 06:49:45 -05:00
Alex Ivanov
37509959b2 libcsupport: Doxygen enhancement task #5
http://www.google-melange.com/gci/task/view/google/gci2012/7992211
2012-12-10 14:51:23 -05:00
Mathew Kallada
ceaa99964f libcsupport: Doxygen Enhancement Task #3
http://www.google-melange.com/gci/task/view/google/gci2012/7992210
2012-12-08 15:43:29 -05:00
Sebastian Huber
e37ed99c99 Filesystem: Add missing include file <stdint.h> 2012-05-15 16:27:51 +02:00
Sebastian Huber
df01da6707 Filesystem: Use ioctl_command_t 2012-05-15 10:01:42 +02:00
Joel Sherrill
65c6425de9 Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
2012-05-11 08:44:14 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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.
2012-05-11 08:44:13 -05:00
Joel Sherrill
d54fd8fd4d 2011-12-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/sys/termios.h: Add _POSIX_VDISABLE.
2011-12-02 16:42:42 +00:00
Joel Sherrill
21242c252a 2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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-06-24 17:52:58 +00:00
Ralf Corsepius
ee613aa252 Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h). 2011-03-24 09:36:14 +00:00
Ralf Corsepius
e530f72f73 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
	(unused). Add C++ guards. Declare functions extern.
2011-02-24 15:48:06 +00:00
Ralf Corsepius
823a26fc22 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/sys/utsname.h: Remove times().
	Remove unnecessary includes.
	Introduce SYS_NMLN (From freebsd).
	* libcsupport/src/utsname.c: Rework uname().
2010-08-24 05:51:51 +00:00
Ralf Corsepius
33c3b54d57 Whitespace removal. 2009-11-29 11:57:23 +00:00
Chris Johns
eb649786c8 2009-10-08 Chris Johns <chrisj@rtems.org>
* Makefile.am, preinstall.am: Added statvfs.h.
        * libcsupport/Makefile.am: Add statvfs.c.
        * libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c:
        New.
        * libcsupport/include/rtems/libio.h: Add a file system handler for
        the statvfs call.
        * libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c,
        libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the
        statvfs handler to NULL.
        * include/rtems/fs.h: Add a second node access field for the RFS
        file system to hold a directory offset while the existing field
        holds the inode number. This save a rescan of the directory when
        working with directories.
        * libblock/include/rtems/bdbuf.h: Added references and user fields
        to the buffer descriptor.
        * libblock/src/bdbuf.c: Added dynamic buffer support for different
        block sizes. Fixed a number of bugs.
        * libblock/src/blkdev.c: Release the disk device on an error.
        * libblock/src/diskdevs.c: Set the block size to the media block
        size during initialisation of the disk device.
        * libblock/src/flashdisk.c, libblock/src/nvdisk.c,
        libblock/src/ramdisk.c: Updated the drivers to handle variable
        block sizes.
        * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any
        buffers when an error occurs. The FAT buffer layer hangs onto a
        single buffer while mounted. This should be fixed.
        * sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain,
        rtems_chain_is_node_off_chain, and rtems_chain_previous.
        * score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain,
        and _Chain_Is_node_off_chain.
        * libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c,
        libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h:
        New shell commands.
        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and
        mknod commands.
        * libmisc/shell/hexdump-display.c: Fixed the reopen bug which
        showed up as a free with a bad pointer.
        * libmisc/shell/main_mount.c: List the user adding file system
        when listing the available file systems to mount.
        * libmisc/shell/utils-cp.c: Remove the fixed static copy buffer
        and use a large dynamic buffer.
        * score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c,
        score/src/objectallocate.c, score/src/objectfree.c: Remove
        warnings.
2009-10-08 07:07:36 +00:00
Ralf Corsepius
da6950d406 Remove #define KERNEL, #define _KERNEL. 2009-02-04 12:52:22 +00:00
Ralf Corsepius
1e872b3299 Remove. 2007-05-10 07:40:10 +00:00
Ralf Corsepius
cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +00:00
Ralf Corsepius
a67c316ac8 2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
*  libcsupport/include/sys/sockio.h: Partial update from
	  FreeBSD.
2007-03-28 15:31:39 +00:00
Joel Sherrill
a009d94459 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* ftpd/ftpd.c, libcsupport/include/sys/ioccom.h,
	libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c,
	libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h,
	libnetworking/net/if.c, libnetworking/net/if_ethersubr.c,
	libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h,
	libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c,
	libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c,
	libnetworking/rtems/rtems_bsdnet_internal.h,
	libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings
	due to improper use of int which shows up on 16 bit targets. Added
	ioctl_command_t since IOCTL command argument does not reliably fit
	into 16 bits.
2006-08-31 01:10:02 +00:00
Joel Sherrill
ae5a79c349 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
	libnetworking/net/ethernet.h, libnetworking/net/if.h,
	libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
	libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
	libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
	libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
	libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
	libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
	warnings. Most of the warnings were 16/32 bit integer sizing issues.
	Some constants had L appended, some had casts add, some types were
	changed to reflect a bit width requirement.
2006-08-30 17:20:33 +00:00
Thomas Doerfler
c9b005a9d2 applied patches for PR1117/1118/1119/1120 2006-07-09 10:05:27 +00:00
Ralf Corsepius
9e7678d2af Partial update from FreeBSD. 2005-05-09 13:12:45 +00:00
Ralf Corsepius
ad58194eb4 Remove. 2004-11-08 16:11:20 +00:00
Ralf Corsepius
47148e4f85 2004-11-07 Ralf Corsepius <ralf.corsepiu@rtems.org>
* libcsupport/include/sys/_stdint.h: Special-case int64_t (GCC has
	__LONG_LONG_MAX__, while POSIX mandates LLONG_MAX. This break
	__EXP(LONG_LONG_MAX)).
2004-11-07 06:49:39 +00:00
Ralf Corsepius
07a984b1ad 2004-11-04 Ralf Corsepius <ralf_corsepiu@rtems.org>
* include/sys/_stdint.h: Various changes.
	Add *leastN_t types. Add INTN_{MIN|MAX} macros.
	Add doxygen preamble.
	* include/sys/_inttypes.h: Add doxygen preamble.
	Reflect changes above.
	* libcsupport/include/stdint.h: Add doxygen preamble.
	* libcsupport/include/inttypes.h: Add doxygen preamble.
	* configure.ac: Add doxygen preamble to cpuopts.h.
2004-11-04 21:48:12 +00:00
Ralf Corsepius
e7ab8899cd 2004-11-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Remove -ansi (Cygwin breaks with it).
	* libcsupport/include/stdint.h: Use sys/_stdint.h to setup fixed
	size types.
	* libcsupport/include/sys/_inttypes.h: Add SCN*N macros.
2004-11-01 11:38:18 +00:00
Ralf Corsepius
b24b4eb06b 2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/rtems/_inttypes.h: Remove.
	* libcsupport/include/rtems/_stdint.h: Remove.
	* libcsupport/include/sys/_inttypes.h: New.
	* libcsupport/include/sys/_stdint.h: New.
	* libcsupport/Makefile.am: Reflect changes above.
2004-10-29 10:13:02 +00:00
Ralf Corsepius
795399e2f5 2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/sys/ioctl.h: Cosmetical update from FreeBSD.
	Remove sys/compat_ioctl.h section (Meaningless with RTEMS).
2004-10-26 10:45:02 +00:00
Ralf Corsepius
3822913741 2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/sys/ioccom.h: Cosmetical update from FreeBSD.
2004-10-26 07:40:45 +00:00
Ralf Corsepius
50f32b1165 Remove stray white spaces. 2004-04-18 06:05:35 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Joel Sherrill
0eae36c7c7 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/chain.h, include/clockdrv.h, include/console.h,
	include/iosupp.h, include/rtc.h, include/spurious.h,
	include/timerdrv.h, include/vmeintr.h, include/motorola/mc68230.h,
	include/rtems/libcsupport.h, include/rtems/libio.h,
	include/rtems/libio_.h, include/rtems/termiostypes.h,
	include/sys/termios.h, include/zilog/z8036.h, include/zilog/z8530.h,
	include/zilog/z8536.h, src/__brk.c, src/__gettod.c, src/__sbrk.c,
	src/__times.c, src/access.c, src/base_fs.c, src/cfgetispeed.c,
	src/cfgetospeed.c, src/cfsetispeed.c, src/cfsetospeed.c, src/chdir.c,
	src/chmod.c, src/chown.c, src/chroot.c, src/close.c, src/ctermid.c,
	src/dup.c, src/dup2.c, src/eval.c, src/fchdir.c, src/fchmod.c,
	src/fcntl.c, src/fdatasync.c, src/fpathconf.c,
	src/fs_null_handlers.c, src/fstat.c, src/fsync.c, src/ftruncate.c,
	src/getdents.c, src/getpwent.c, src/hosterr.c, src/ioctl.c,
	src/isatty.c, src/libio.c, src/libio_sockets.c, src/link.c,
	src/lseek.c, src/lstat.c, src/malloc.c, src/mallocfreespace.c,
	src/mkdir.c, src/mkfifo.c, src/mknod.c, src/mount.c, src/newlibc.c,
	src/no_libc.c, src/no_posix.c, src/open.c, src/pathconf.c,
	src/pipe.c, src/privateenv.c, src/read.c, src/readlink.c,
	src/rewinddir.c, src/rmdir.c, src/seekdir.c, src/stat.c,
	src/symlink.c, src/sync.c, src/tcdrain.c, src/tcflow.c,
	src/tcflush.c, src/tcgetattr.c, src/tcgetprgrp.c, src/tcsendbreak.c,
	src/tcsetattr.c, src/tcsetpgrp.c, src/telldir.c, src/termios.c,
	src/termiosinitialize.c, src/truncate.c, src/umask.c, src/unixlibc.c,
	src/unlink.c, src/unmount.c, src/utime.c, src/write.c: URL for
	license changed.
2003-09-04 18:54:13 +00:00
Joel Sherrill
2a09fb6ebf 2003-02-06 Joel Sherrill <joel@OARcorp.com>
* include/sys/ioccom.h: Include <sys/types.h> not <machine/types.h> so
	Linux port builds.
2003-02-06 15:01:59 +00:00
Joel Sherrill
787449a9c8 2003-02-05 Joel Sherrill <joel@OARcorp.com>
* include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
	code.
2003-02-05 21:12:03 +00:00
Joel Sherrill
7e476f0279 2002-12-02 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio.h: Internally use a union of an unsigned64
	and major/minor device so we don't get into trouble shifting.
	The h8300 seemed to be impossible to remove warnings otherwise.
	Eventually the structure definition of a dev_t might be better anyway.
	* include/sys/ioccom.h: Added casts to remove warnings on 16 bit
	targets.
2002-12-02 19:13:26 +00:00
Joel Sherrill
5af0cf2fb2 2002-07-30 Joel Sherrill <joel@OARcorp.com>
* include/sys/utime.h: Removed as file is now part of the RTEMS
	newlib support.
	* Makefile.am: Reflect above.
	* include/rtems/termiostypes.h: Avoid use of __P.
2002-07-30 23:26:18 +00:00
Joel Sherrill
f7691e3b7b 2001-08-16 Mike Siers <mikes@poliac.com>
* include/rtems/termiostypes.h, include/sys/ioccom.h:
	Update of PPPD to 2.3.11 from 2.3.5 touched these files.
2001-08-16 20:45:26 +00:00
Joel Sherrill
ab6d08ffc1 2001-03-19 Joel Sherrill <joel@OARcorp.com>
* sys/utsname.h: Added C++ wrapper.
2001-03-19 13:08:20 +00:00
Joel Sherrill
f5f31dd5a0 2000-11-28 Joel Sherrill <joel@OARcorp.com>
* include/sys/ttycom.h: New file -- moved from libnetworking/sys.
	* Makefile.am: Modified to reflect above.
2000-11-30 13:55:41 +00:00
Joel Sherrill
730daa62bc Moved <sys/cdefs.h> from libnetworking to lib/include so non-networking
configurations could see it while including <sys/ioctl.h> and
<sys/ioccom.h>.
2000-06-14 21:13:20 +00:00