summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-04-18Remove stray white spaces.Ralf Corsepius61-392/+392
2004-04-15Remove stray white spaces.Ralf Corsepius30-36/+1
2004-04-142004-04-14 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-13/+4
* libcsupport/Makefile.am: Install include_sys_HEADERS for NEWLIB only. Merge sys/cdefs.h into general include_sys_HEADERS.
2004-04-132004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius3-40/+17
* 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-092004-04-09 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-3/+3
* libblock/Makefile.am: Build libblock for !UNIX only. * libcsupport/Makefile.am: Build $(TERMIOS_C_FILES) for !UNIX only.
2004-04-08Fix yet another typo in previous patchRalf Corsepius1-0/+3
2004-04-082004-04-08 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-8/+5
* libcsupport/Makefile.am: Install sys/ioccom.h for NEWLIB only.
2004-04-08Fix typo in previous patchRalf Corsepius1-1/+1
2004-04-082004-04-08 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-28/+27
* libcsupport/Makefile.am: Remove $(LIBC_DEFINES) (Unsupported). Install motorola-headers to $(includedir)/rtems/motorola. Install zilog-header $(includedir)/rtems/zilog.
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-36/+36
* Makefile.am: Add backward/*.h headers. * itron/Makefile.am: Install itron.h to $(includedir)/rtems. * libcsupport/Makefile.am: Install RTEMS specific headers to $(includedir)/rtems. * libfs/Makefile.am: Install imfs.h and dosfs.h to $(includedir)/rtems.
2004-04-012004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius3-3/+3
* libblock/include/rtems/bdbuf.h: Include <rtems/chain.h> instead of <chain.h>. * libblock/include/rtems/ide_part_table.h: Include <rtems/chain.h> instead of <chain.h>. * libcsupport/src/malloc.c: Include <rtems/chain.h> instead of <chain.h>. * libcsupport/src/mount.c: Include <rtems/chain.h> instead of <chain.h>. * libcsupport/src/unmount.c: Include <rtems/chain.h> instead of <chain.h>. * libfs/src/imfs/imfs.h: Include <rtems/chain.h> instead of <chain.h>. * libfs/src/imfs/imfs_directory.c: Include <rtems/chain.h> instead of <chain.h>. * libfs/src/imfs/imfs_load_tar.c: Include <rtems/chain.h> instead of <chain.h>. * sapi/include/confdefs.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>. * sapi/include/confdefs.h: Include <rtems/console.h> instead of <console.h>. * libfs/src/imfs/imfs_load_tar.c: Include <rtems/imfs.h> instead of <imfs.h>. * libmisc/shell/cmds.c: Include <rtems/imfs.h> instead of <imfs.h>. * libmisc/fsmount/fsmount.c: Include <rtems/imfs.h> instead of <imfs.h>. * sapi/include/confdefs.h: Include <rtems/imfs.h> instead of <imfs.h>. * itron/src/can_wup.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/chg_pri.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/cre_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/cre_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/cre_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/cre_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/del_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/del_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/del_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/del_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/dis_dsp.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ena_dsp.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/eventflags.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/exd_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ext_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/fmempool.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/frsm_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/get_tid.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/itronintr.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/itronsem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/itrontime.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/mbox.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/mboxtranslatereturncode.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/msgbuffer.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/msgbuffertranslatereturncode.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/network.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/port.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/prcv_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/prcv_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/preq_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/psnd_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/rcv_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/rcv_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ref_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ref_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ref_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ref_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/rel_wai.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/rot_rdq.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/rsm_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/sig_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/slp_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/snd_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/snd_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/sta_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/sus_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/sysmgmt.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/task.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/ter_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/trcv_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/trcv_mbx.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/tslp_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/tsnd_mbf.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/twai_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/vmempool.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/wai_sem.c: Include <rtems/itron.h> instead of <itron.h>. * itron/src/wup_tsk.c: Include <rtems/itron.h> instead of <itron.h>. * sapi/include/rtems/config.h: Include <rtems/itron.h> instead of <itron.h>. * sapi/include/confdefs.h: Include <rtems/itron.h> instead of <itron.h>. * sapi/src/itronapi.c: Include <rtems/itron.h> instead of <itron.h>. * sapi/include/confdefs.h: Include <rtems/rtc.h> instead of <rtc.h>. * sapi/include/confdefs.h: Include <rtems/timerdrv.h> instead of <timerdrv.h>.
2004-03-302004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-2/+2
* rtems/include/rtems/rtems/region.h: Include stddef.h for size_t. (rtems_region_get_segment_size): Use size_t instead of uint32_t for "size" (3rd arg). * rtems/src/regiongetsegmentsize.c: Reflect changes above. * libcsupport/src/malloc.c: Reflect changes above.
2004-03-232004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-3/+3
* libcsupport/src/malloc.c: Remove lvalue casts.
2004-03-232004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius24-168/+168
* 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-09Remove refs to Makefile*.Ralf Corsepius1-2/+0
2004-03-08Unused.Ralf Corsepius5-10/+0
2004-03-052004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-19/+48
* libcsupport/src/newlibc.c, libcsupport/src/sync.c: Eliminate warnings. Explicitly defeat __STRICT_ANSI__ since both legitimately use routines beyond ANSI.
2004-03-052004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-48/+19
* libblock/src/bdbuf.c, libblock/src/ramdisk.c, libcsupport/src/newlibc.c, libcsupport/src/sync.c, libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c, libmisc/shell/cmds.c, libmisc/shell/shell.c, libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c, libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c, libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c, libnetworking/libc/res_send.c, libnetworking/libc/res_update.c, libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c, librpc/src/rpc/clnt_perror.c, librpc/src/rpc/svc.c, score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Too much was accidentally committed -- revert.
2004-03-052004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-19/+48
* libblock/src/bdbuf.c, libblock/src/ramdisk.c, libcsupport/src/newlibc.c, libcsupport/src/sync.c, libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c, libmisc/shell/cmds.c, libmisc/shell/shell.c, libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c, libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c, libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c, libnetworking/libc/res_send.c, libnetworking/libc/res_update.c, libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c, librpc/src/rpc/clnt_perror.c, librpc/src/rpc/rtems_rpc.c, librpc/src/rpc/svc.c, sapi/include/confdefs.h, score/macros/rtems/score/chain.inl, score/src/objectidtoname.c:
2004-01-232004-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-434/+0
* ChangeLog: Merge-in libcsupport/ChangeLog. * libcsupport/ChangeLog: Remove.
2004-01-23Cleanup ChangeLog.Ralf Corsepius1-161/+107
2004-01-192004-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-5/+13
* Makefile.am: Add PREINSTALL_DIRS.
2004-01-142004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+13
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES. Add PREINSTALL_FILES to CLEANFILES.
2004-01-122004-01-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-3/+7
PR 548/rtems * Makefile.am: Add src/envlock.c.
2004-01-112004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-23/+23
* Makefile.am: Reformat, add UNUSED_FILES.
2004-01-112004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-5/+7
* Makefile.am: Include compile.am, again. Eliminate DOC_FILES.
2004-01-092004-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+8
* Makefile.am: Add libs to CLEANFILES Set lib*_g_a_SOURCES = lib*_a_SOURCES.
2004-01-092004-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-7/+12
* Makefile.am: Build libcsupport$(LIB_VARIANT).a instead of $(ARCH)/libcsupport.a.
2004-01-072004-01-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-26/+21
* Makefile.am: Build library using EXTRA_LIBRARIES and automake rules.
2003-12-162003-12-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+16
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-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-10/+9
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+4
* Makefile.am: Remove BUILT_SOURCES.
2003-12-012003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+6
* Makefile.am: Add $(dirstamp) to compilation rules.
2003-11-302003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-70/+83
* Makefile.am: Add $(dirstamp) to preinstallation rules.
2003-11-262003-11-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+34
PR 524/filesystem * src/newlibc.c: Address 1K buffer leak from incomplete cleanup of newlib reentrancy handler.
2003-11-262003-11-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-11/+24
PR 523/filesystem * src/malloc.c: Make malloc family safer for use from ISRs and dispatching critical sections. If in a critical section while doing a free(), then the free is deferred until the next malloc() attempt.
2003-11-252003-11-25 Jennifer Averett <jennifer@OARcorp.com>Jennifer Averett5-0/+48
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-222003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-3/+7
* include/rtems/cdefs.h: Use _RTEMS_CDEFS_H guards.
2003-11-222003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-59/+355
* include/rtems/cdefs.h: New. * Makefile.am: Completely reworked.
2003-11-202003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-6/+6
* src/config.h: Remove. * src/Makefile.am: AM_CPPFLAGS += -I$(top_builddir).
2003-10-222003-10-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+54
PR 511/filesystem * src/malloc.c: Add deferred free and protect against C Program Heap operations while in a dispatch disable critical section or ISR.
2003-10-022003-10-02 Phil Torre <ptorre@zetron.com>Joel Sherrill2-31/+58
PR 504/rtems * src/newlibc.c: Fix memory allocation of libc extension so it is dispatch disabled safe See PR for detailed explanation.
2003-09-262003-09-26 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2-0/+8
PR 498/rtems * src/printk.c: RTEMS printk() does not support the %i format which is used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I as an alias for %d/%D.
2003-09-152003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+8
PR 489/rtems * src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent having changed from void * to struct _reent*.
2003-09-132003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-5/+6
* src/sync.c: Don't undef __STRICT_ANSI__. Use struct _reent (struct reent doesn't exist)
2003-09-132003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-4/+5
PR 486/rtems * src/newlib.c: Unconditionally include <stdio.h>
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill95-94/+123
* 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-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+13
PR 479/rtems_misc * src/malloc.c: Per multiple standards realloc does not free the original memory if the allocation of the requested larger block fails.
2003-09-022003-09-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* src/open.c: Fix typo.
2003-09-022003-09-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+4
* src/malloc.c: Remove test define left in.