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
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
0b178f0436
2003-01-10 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
conflict with GNU/Linux header files.
2003-01-10 15:02:52 +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
a1f10111da
2002-10-28 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Change rtems_filesystem_node_types_t from
enumeration to int to eliminate warnings when values are overridden.
2002-10-28 14:04:03 +00:00
Joel Sherrill
5d0b2f75eb
2002-09-14 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Change rtems_filesystem_read_t and
rtems_filesystem_write_t to return ssize_t to match read(2)
and write(2) respectively.
2002-09-14 21:07:02 +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
485e80fa03
2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/Makefile.am: Add stdint.h and inttypes.h.
(reported by Mike Siers <mikes@poliac.com >)
* include/stdint.h: New file.
* include/inttypes.h: New file.
2002-04-16 13:23:40 +00:00
Joel Sherrill
eaeb467139
2001-03-20 Joel Sherrill <joel@OARcorp.com>
...
* PR143
* lib/include/rtems/termiostypes.h: Removed unneeded volatile on
"theBuf" since no byte is read more than once anyway.
2002-03-20 17:59:12 +00:00
Joel Sherrill
d09ad1f0e0
2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/rtems/libio.h: Add #include <rtems/fs.h>.
Reflect changes due to using rtems/fs.h.
* include/rtems/libio_.h: Reworked.
2002-01-16 22:54:59 +00:00
Joel Sherrill
a02224e0e6
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/rtems/libio_.h: Remove set_errno_and_return_minus_one.
* libc/cfsetispeed.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/cfsetospeed.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chdir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chmod.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chown.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chroot.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/closedir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/eval.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fchdir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fchmod.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fdatasync.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fpathconf.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fstat.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fsync.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ftruncate.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/getdents.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ioctl.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/link.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/lseek.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/mknod.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/open.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/read.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/readlink.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/rmdir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/stat.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/symlink.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/tcsetattr.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/telldir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ttyname.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ttyname_r.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/unlink.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/unmount.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/utime.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/write.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
2002-01-04 18:29:37 +00:00
Joel Sherrill
1af7963479
2001-10-25 Jennifer Averett <jennifer@OARcorp.com>
...
* libc/libio.c: Initialize more fields to NULL/0 during initialiation.
* include/rtems/libio_.h: Fix freenode macro so it works for sockets
which do not have the full set of filesystem operations and are
initialized via something other than open().
2001-10-25 17:38:55 +00:00
Joel Sherrill
9f6c06322a
2001-10-12 Joel Sherrill <joel@OARcorp.com>
...
* include/chain.h: Fixed typo.
2001-10-12 21:10:49 +00:00
Joel Sherrill
d6c20ff373
2001-08-17 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
is defined on GNU/Linux (RedHat 6.2 distribution).
* libc/unixlibc.c: Added stubs for rtems_io_register_name() and
rtems_io_lookup_name() so UNIX port would compile the IO manager
sptest that registers /dev/null.
2001-08-17 21:59:28 +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
87fb080d75
2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
...
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
so they can be part of the private environment.
2001-05-24 22:04:03 +00:00
Joel Sherrill
d8a9155512
2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>
...
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
Private environment and chroot() enhancements and fixes. Comments:
+ privateenv has been modified to let at chroot() to be more
POSIX like Sergei Organov recommended.
+ A task owner lets that rtems_set_private_env() will be
called twice or more times.
+ chroot() can be called without a previous
rtems_set_private_env(); (transpanrently)
+ The second call of rtems_set_private_env() makes a internal
chroot("/") into global imfs_root.
+ chroot() runs like chdir() without a previous chdir("/") with
the global root.
+ The current directory can be in a wrong place like Linux and
many other Unices.
2001-04-20 21:11:25 +00:00
Joel Sherrill
d6a2d7eeb1
2001-04-16 Joel Sherrill <joel@OARcorp.com>
...
* include/rtc.h: New file.
* include/Makefile.am: Updated to reflect above.
2001-04-16 20:22:12 +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
2a929cc871
2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es>
...
* Alternate email is correo@fernando-ruiz.com
* libc/privateenv.c: New file.
* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
libc/unmount.c: Moved default umask, current working directory,
root, and links followed count into a structure "user environment"
that can then be treated as a unit. This enable giving unique
copies of these to individual threads or collection of threads.
2001-01-25 15:59:58 +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
a080705682
2000-11-27 Joel Sherrill <joel@OARcorp.com>
...
* libc/termiostypes.h: New file -- missed in earlier commits.
2000-11-27 17:05:41 +00:00
Joel Sherrill
3ba74c733f
2000-11-01 Joel Sherrill <joel@OARcorp.com>
...
* include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
libc/utime.c, libc/write.c:
assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
from libc to lib/include/rtems and now must be referenced as
<rtems/XXX.h>.
* include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
* include/rtems/assoc.h, include/rtems/error.h,
include/rtems/libcsupport.h, include/rtems/libio.h,
include/rtems/libio_.h: New/moved files.
2000-11-01 21:08:14 +00:00
Joel Sherrill
7b0001f795
2000-10-24 Joel Sherrill <joel@OARcorp.com>
...
* libc/ioman.c: Moved to libfs.
* libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
* libc/base_fs.c: Removed include of imfs.h and reworded comment
to avoid being IMFS specific.
* libc/libio.h: Removed prototype of IMFS_ops since it should
not be in this file.
* libc/mount.c: Removed IMFS specific configuration information.
* libc/unmount.c: Removed include of imfs.h and reworded comment
to avoid being IMFS specific.
2000-10-25 16:56:11 +00:00