| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* libcsupport/include/ringbuf.h: Use uint8_t instead of char for raw
data buffer.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libcsupport/include/inttypes.h: New header guard.
Fix doxygen preamble.
|
| |
|
|
|
|
|
|
|
| |
* libcsupport/include/tar.h: New (SUSv3).
* Makefile.am: Integrate newlib-specific headers.
Add libcsupport/include/tar.h.
* libcsupport/Makefile.am: Remove newlib-specific headers.
|
|
|
|
| |
* libcsupport/include/stdint.h: Use __PTRDIFF_TYPE for intptr_t.
|
| |
|
|
|
|
| |
* libcsupport/include/stdint.h: Move mal-placed comment.
|
|
|
|
| |
* libcsupport/include/stdint.h: Fixed name in @file.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* 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)).
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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".
|
| |
|
|
|
|
|
| |
* libcsupport/include/sys/ioctl.h: Cosmetical update from FreeBSD.
Remove sys/compat_ioctl.h section (Meaningless with RTEMS).
|
|
|
|
| |
* libcsupport/include/sys/ioccom.h: Cosmetical update from FreeBSD.
|
|
|
|
| |
* libcsupport/include/stdint.h: Add intptr_t uintptr_t.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
PR 542/filesystem
* include/rtems/libio_.h: Add rtems_libio_iop_to_descriptor macro to
convert iop to the corresponding integer file descriptor.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
* include/rtems/cdefs.h: Use _RTEMS_CDEFS_H guards.
|
|
|
|
|
| |
* include/rtems/cdefs.h: New.
* Makefile.am: Completely reworked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
rtems_termios_bufsize call.
|
|
|
|
|
| |
PR 409:
* include/stdint.h: Include rtems/stdint.h
|
|
|
|
|
| |
* include/sys/ioccom.h: Include <sys/types.h> not <machine/types.h> so
Linux port builds.
|
|
|
|
|
| |
* include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
code.
|
|
|
|
|
| |
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
conflict with GNU/Linux header files.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* include/rtems/libio.h: Change rtems_filesystem_node_types_t from
enumeration to int to eliminate warnings when values are overridden.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* PR143
* lib/include/rtems/termiostypes.h: Removed unneeded volatile on
"theBuf" since no byte is read more than once anyway.
|
|
|
|
|
|
| |
* include/rtems/libio.h: Add #include <rtems/fs.h>.
Reflect changes due to using rtems/fs.h.
* include/rtems/libio_.h: Reworked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
| |
* include/chain.h: Fixed typo.
|
|
|
|
|
|
|
|
| |
* 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.
|