Commit Graph

141 Commits

Author SHA1 Message Date
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
Joel Sherrill
c3db01d0f3 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
	sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c,
	score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/userext.h, score/src/chain.c,
	score/src/userext.c: Switch to newlib reentrancy extension being
	installed in the initial set instead of using rtems_extension_create.
	While implementing this, noticed that user extensions and chain code
	had multiple functions in a single file which is not desirable in the
	SuperCore and API portions of RTEMS, so split these into multiple
	files with one function per file. Also noticed that some of user
	extension code was inlined for no particular reason so moved that to
	C bodies.  Split executive shutdown from initialization since not
	every application shuts down.  Moved __fini call to executive shutdown
	to be more symmetrical with where it is called at startup.
	* sapi/src/exshutdown.c, score/src/chainappend.c,
	score/src/chainextract.c, score/src/chainget.c,
	score/src/chaininsert.c, score/src/userextaddapiset.c,
	score/src/userextaddset.c, score/src/userextremoveset.c,
	score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
	score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
	score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New
	files.
	* score/inline/rtems/score/userext.inl: Removed.
2007-05-09 18:27:26 +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
9d52e6923f 2007-03-26 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/rtems/assoc.h: Pick up the include file
	changes associated with the file splitting.
2007-03-26 22:53:45 +00:00
Ralf Corsepius
30ceeaa30c 2007-03-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/termiostypes.h,
	libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw
	with rtems_termios_*.
2007-03-17 06:46:45 +00:00
Ralf Corsepius
7192476f7a Use size_t instead of uint32_t for read/write count-args. 2006-12-08 07:18:27 +00:00
Ralf Corsepius
43912af4a4 2006-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/stdint.h, libcsupport/include/inttypes.h:
	Remove.
2006-11-12 11:12:53 +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
b7176bd70c 2006-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/cdefs.h: Partial update from freebsd.
2006-06-23 15:33:19 +00:00
Ralf Corsepius
80c2966f4b 2006-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h: Add extern "C" {}.
2006-06-18 06:28:22 +00:00
Ralf Corsepius
9e7678d2af Partial update from FreeBSD. 2005-05-09 13:12:45 +00:00
Joel Sherrill
72ba6689b8 2005-05-03 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/ringbuf.h: Use uint8_t instead of char for raw
	data buffer.
2005-05-03 22:19:04 +00:00
Ralf Corsepius
a29d2e7e3d 2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h: Use rtems_id for semaphores.
	Use char* for buffer.
	* backward/ftpd.h: New.
	* Makefile.am: Reflect having added backward/ftpd.h.
2005-02-04 14:58:01 +00:00
Joel Sherrill
ce92867bea 2005-02-01 Joel Sherrill <joel@OARcorp.com>
* libblock/include/rtems/bdbuf.h,
	libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c,
	libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c,
	posix/macros/rtems/posix/cond.inl,
	posix/macros/rtems/posix/mutex.inl : Remove warnings.
2005-02-02 00:06:18 +00:00
Ralf Corsepius
eb891eb331 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/include/inttypes.h: New header guard.
	Fix doxygen preamble.
2005-01-28 08:07:03 +00:00
Ralf Corsepius
7945944459 New header guards. 2005-01-28 08:04:27 +00:00
Ralf Corsepius
e18080ab06 2005-01-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/include/tar.h: New (SUSv3).
	* Makefile.am: Integrate newlib-specific headers.
	Add libcsupport/include/tar.h.
	* libcsupport/Makefile.am: Remove newlib-specific headers.
2005-01-27 06:42:37 +00:00
Ralf Corsepius
a1ec1b9551 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/include/stdint.h: Use __PTRDIFF_TYPE for intptr_t.
2005-01-24 15:02:00 +00:00
Ralf Corsepius
4d3017ab2d Add doxygen preamble. 2004-12-02 18:04:55 +00:00
Ralf Corsepius
f10a9991c8 2004-11-20 Ralf Corsepius <ralf.corsepiu@rtems.org>
* libcsupport/include/stdint.h: Move mal-placed comment.
2004-11-20 02:57:19 +00:00
Joel Sherrill
760ccad71b 2004-11-09 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/stdint.h: Fixed name in @file.
2004-11-09 15:41:04 +00:00
Ralf Corsepius
a0596b415f 2004-11-08 Ralf Corsepius <ralf.corsepiu@rtems.org>
* libcsupport/include/sys/_stdint.h: Remove.
	* libcsupport/include/sys/_inttypes.h: Remove.
	* libcsupport/include/stdint.h: Replace with former sys/_stdint.h.
	Add INT<N>_C, various additions.
	* libcsupport/include/inttypes.h: Replace with former
	sys/_inttypes.h.
	* libcsupport/Makefile.am: Reflect changes above.
2004-11-08 16:11:58 +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
bffdb8281b 2004-11-05 Ralf Corsepius <ralf_corsepiu@rtems.org>
* configure.ac: Remove RTEMS_USES_INTTYPES_H. Require inttypes.h.
	* include/rtems/stdint.h: Remove "wild guesses", require inttypes.h.
	* libcsupport/include/inttypes.h: Cleanup.
	* libcsupport/include/stdint.h: Cleanup.
2004-11-05 11:34:49 +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
0f9ff45957 2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/inttypes.h: #include <sys/_inttypes.h>
	* libcsupport/src/utsname.c: Don't include sptables.h.
	Include <inttypes.h>. Use PRId32 instead of "%d".
2004-10-29 10:34:38 +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
eafc34b58b 2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/rtems/_inttypes.h: Undefine __PRIN defines.
	* libcsupport/include/rtems/_stdint.h: Apply GNUC-limits to GCC >= 3.3, only.
	Add _rtems_*_t_defined defines. Add extern "C".
2004-10-26 17:11:03 +00:00
Ralf Corsepius
e9d4e8d70a New. 2004-10-26 11:02:39 +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
134191bc99 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/stdint.h: Add intptr_t uintptr_t.
2004-10-22 14:06:33 +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
a5777f043d 2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Rework stdint.h/inttypes.h support.
	Add RTEMS_USES_STDINT_H. Add RTEMS_USES_INTTYPES_H.
	Remove NEED_STDINT_H. Remove NEED_INTTYPES_H.
	Remove termios-flag detection.
	* libcsupport/Makefile.am: Install include/stdint.h and
	include/inttypes.h for NEWLIB only.
	* libcsupport/include/stdint.h: Rework; Now newlib specific.
	* libcsupport/src/termios.c: Make newlib specific.
	* include/rtems/stdint.h: Rework; Now wrapper to <stdint.h>.
2004-04-13 15:15:28 +00:00
Ralf Corsepius
83c5fc1bb9 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/include/chain.h, libcsupport/include/clockdrv.h,
	libcsupport/include/ringbuf.h, libcsupport/include/spurious.h,
	libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h,
	libcsupport/include/motorola/mc68230.h,
	libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h,
	libcsupport/include/rtems/libio_.h,
	libcsupport/include/rtems/termiostypes.h,
	libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h,
	libcsupport/include/zilog/z8536.h, libcsupport/src/__gettod.c,
	libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c,
	libcsupport/src/error.c,  libcsupport/src/libio.c,
	libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c,
	libcsupport/src/no_libc.c, libcsupport/src/termios.c,
	libcsupport/src/termiosreserveresources.c: Convert to using c99
	fixed-size types.
2004-03-23 06:07:53 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Joel Sherrill
de2ee43db0 2003-12-16 Joel Sherrill <joel@OARcorp.com>
PR 542/filesystem
	* include/rtems/libio_.h: Add rtems_libio_iop_to_descriptor macro to
	convert iop to the corresponding integer file descriptor.
2003-12-16 23:41:27 +00:00
Jennifer Averett
de691e68f7 2003-11-25 Jennifer Averett <jennifer@OARcorp.com>
PR 519/filesystem
	* include/rtems/libio_.h, src/eval.c, src/rmdir.c, src/unlink.c: Check
	write permissions in parent directory for file or directory delete
2003-11-25 17:26:45 +00:00
Ralf Corsepius
bcb9ab43d3 2003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/cdefs.h: Use _RTEMS_CDEFS_H guards.
2003-11-22 11:32:46 +00:00
Ralf Corsepius
6cb5bcd5f8 2003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/cdefs.h: New.
	* Makefile.am: Completely reworked.
2003-11-22 11:31:12 +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
Chris Johns
1f5d2baf06 Patch by Chris Johns <cjohns@cybertec.com.au> adding the rtems_termios_bufsize call. 2003-07-02 14:20:36 +00:00
Ralf Corsepius
fe661e4169 2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 409:
	* include/stdint.h: Include rtems/stdint.h
2003-05-27 16:33:01 +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