summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New define: CONSOLE_DEVICE_NAME.Thomas Doerfler2008-05-271-0/+2
|
* 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-221-99/+122
| | | | | | | | * libcsupport/Makefile.am, libcsupport/preinstall.am, libcsupport/include/rtems/termiostypes.h: Move termios helper routines from libchip to libcsupport. Add routine which makes it easy for a termios device driver to inform termios of its default baud rate. This avoids inconsistencies in later termios settings changes.
* 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-221-4/+17
| | | | * libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
* 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-221-0/+60
| | | | | | * libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline interface for Watchdog Driver. * libcsupport/include/rtems/watchdogdrv.h: New file.
* Fix Id.Joel Sherrill2008-05-161-1/+1
|
* 2008-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-04-221-6/+1
| | | | | | * libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove rtems_termios_reserve_resources. It is obsolete. * libcsupport/src/termiosreserveresources.c: Removed.
* 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-02-151-34/+34
| | | | | * libcsupport/include/motorola/mc68230.h: Prefix defines with MC68230_ to avoid preprocessor clashes.
* 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-01-291-0/+20
| | | | | | | | | | | * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c, libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign as helper and as exposed nmemalign variant with few restrictions. Also turn on compilation of _Heap_Walk but make forced calls to it conditionally compiled. This should allow more flexibility to the user as to run-time checking of the heap. * libcsupport/src/rtems_memalign.c: New file.
* 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-251-6/+6
| | | | | * libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be in public API.
* 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-091-0/+17
| | | | | | * libcsupport/Makefile.am: Add src/malloc_dirtier.c. * libcsupport/include/rtems/malloc.h: Add malloc dirty support. * libcsupport/src/malloc_p.h: Correct prototype.
* 2008-01-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-081-5/+14
| | | | | | | | | | | | | | | * libcsupport/Makefile.am: Add malloc_sbrk_helpers.c. * libcsupport/include/rtems/malloc.h, libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_statistics_helpers.c: Make sbrk() support pluggable and optional. This eliminates the need for heap extend and sbrk in the minimum footprint which is ~2.5K on the SPARC. * sapi/include/confdefs.h: Add the following configuration points: + CONFIGURE_MALLOC_STATISTICS + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK * libcsupport/src/malloc_sbrk_helpers.c: New file.
* 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-211-8/+5
| | | | | | PR 1268/cpukit * libcsupport/include/rtems/assoc.h: There is no rtems_assoc_ptr_by_value method.
* 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-191-0/+1
| | | | | | | | | | | * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_report_statistics_plugin.c, libmisc/shell/shell.c, libmisc/shell/shell.h, score/src/objectinitializeinformation.c: Add posix_memalign. Split out management of deferred frees to subroutines. * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
* 2007-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-181-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/Makefile.am, libcsupport/preinstall.am, libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c, libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c, libmisc/shell/shellconfig.h: Split malloc.c into multiple files with one function per file. Also split out statistics into a separate file which can be plugged in dynamically. Right now, it is always in. I suspect that splitting the file removed more code than leaving statistics in. I tinkered with malloc information command in the shell. I resurrected the malloc arena code as malloc boundary. This code is now compiled all the time even though it does not appear to work. * libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c, libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c, libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c, libcsupport/src/free.c, libcsupport/src/malloc_boundary.c, libcsupport/src/malloc_get_statistics.c, libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_report_statistics.c, libcsupport/src/malloc_report_statistics_plugin.c, libcsupport/src/malloc_statistics_helpers.c, libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c, libmisc/shell/main_perioduse.c: New files.
* Remove.Ralf Corsepius2007-05-102-363/+0
|
* Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius2007-05-101-1/+1
|
* 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-091-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-281-4/+4
| | | | | * libcsupport/include/sys/sockio.h: Partial update from FreeBSD.
* 2007-03-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-261-15/+83
| | | | | * libcsupport/include/rtems/assoc.h: Pick up the include file changes associated with the file splitting.
* 2007-03-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-171-3/+3
| | | | | | * libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw with rtems_termios_*.
* Use size_t instead of uint32_t for read/write count-args.Ralf Corsepius2006-12-081-2/+2
|
* 2006-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-11-122-575/+0
| | | | | * libcsupport/include/stdint.h, libcsupport/include/inttypes.h: Remove.
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-311-1/+6
| | | | | | | | | | | | | | | * 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-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-301-1/+1
| | | | | | | | | | | | | | * 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.
* applied patches for PR1117/1118/1119/1120Thomas Doerfler2006-07-091-0/+4
|
* 2006-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-06-231-8/+10
| | | | * libcsupport/include/rtems/cdefs.h: Partial update from freebsd.
* 2006-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-06-181-0/+8
| | | | * libcsupport/include/rtems/libio.h: Add extern "C" {}.
* Partial update from FreeBSD.Ralf Corsepius2005-05-091-6/+5
|
* 2005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-031-1/+1
| | | | | * libcsupport/include/ringbuf.h: Use uint8_t instead of char for raw data buffer.
* 2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-041-2/+2
| | | | | | | * 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-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-02-021-1/+1
| | | | | | | | * 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-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-281-4/+4
| | | | | * libcsupport/include/inttypes.h: New header guard. Fix doxygen preamble.
* New header guards.Ralf Corsepius2005-01-2819-38/+38
|
* 2005-01-27 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-271-0/+47
| | | | | | | * 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-24 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-241-0/+10
| | | | * libcsupport/include/stdint.h: Use __PTRDIFF_TYPE for intptr_t.
* Add doxygen preamble.Ralf Corsepius2004-12-0221-27/+95
|
* 2004-11-20 Ralf Corsepius <ralf.corsepiu@rtems.org>Ralf Corsepius2004-11-201-4/+3
| | | | * libcsupport/include/stdint.h: Move mal-placed comment.
* 2004-11-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-11-091-1/+1
| | | | * libcsupport/include/stdint.h: Fixed name in @file.
* 2004-11-08 Ralf Corsepius <ralf.corsepiu@rtems.org>Ralf Corsepius2004-11-082-12/+549
| | | | | | | | | | * 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.
* Remove.Ralf Corsepius2004-11-082-516/+0
|
* 2004-11-07 Ralf Corsepius <ralf.corsepiu@rtems.org>Ralf Corsepius2004-11-071-1/+6
| | | | | | * 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-05 Ralf Corsepius <ralf_corsepiu@rtems.org>Ralf Corsepius2004-11-052-21/+1
| | | | | | | * 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-04 Ralf Corsepius <ralf_corsepiu@rtems.org>Ralf Corsepius2004-11-044-24/+149
| | | | | | | | | | | * 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-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-11-012-17/+111
| | | | | | | * 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-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-291-0/+1
| | | | | | * 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-28 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-294-166/+280
| | | | | | | | * 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-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-262-3/+27
| | | | | | * 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".
* New.Ralf Corsepius2004-10-262-0/+142
|
* 2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-261-15/+4
| | | | | * libcsupport/include/sys/ioctl.h: Cosmetical update from FreeBSD. Remove sys/compat_ioctl.h section (Meaningless with RTEMS).
* 2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-261-5/+4
| | | | * libcsupport/include/sys/ioccom.h: Cosmetical update from FreeBSD.