Commit Graph

240 Commits

Author SHA1 Message Date
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01:00
Sebastian Huber
446632197c Add crypt_r(), etc.
Add crypt_add_format(), crypt_r(), crypt_md5_r(), crypt_sha256_r() and
crypt_sha512_r().
2014-11-20 10:30:21 +01:00
Sebastian Huber
b6f218867b Add RTEMS port of Linux I2C user-space API 2014-11-20 08:54:11 +01:00
Chris Johns
f98abbe0eb libdl: Disable building libdl for the NIOS2. No relocation support.
This should have been added.
2014-11-06 13:09:54 +11:00
Chris Johns
ae5fe7e6bc cpukit: Add libdl with the Runtime Loader (RTL) code.
This is a merge of the RTL project.
2014-10-31 11:04:15 +11:00
Joel Sherrill
57871880b2 Add configuration to detect toolset has sigaltstack() prototype 2014-08-20 18:47:02 -05:00
Hesham ALMatary
94d45f6ffe Add support for OpenRISC - Fixed issues
This work is based on the old or32 port (that has been
removed back in 2005) authored by Chris Ziomkowski. The patch includes the
basic functions every port should implement like: context switch, exception
handling, OpenRISC ABI and machine definitions and configurations.
2014-08-12 13:40:45 -05:00
Joel Sherrill
ed7a02895e Thread Queue Priority Discipline Reimplemented with RBTree 2014-07-15 12:43:44 -05:00
Sebastian Huber
eafb040d91 score: Add --enable-profiling configure option 2014-03-14 08:46:48 +01:00
Jennifer Averett
57997d8b45 cpukit: Correct bug in check of affinity support in newlib. 2014-02-17 12:15:19 -06:00
Sebastian Huber
8a9568d2e7 Require presence of <stdatomic.h> for SMP support 2014-02-17 08:46:38 +01:00
Joel Sherrill
801a1fc6b2 cpukit/configure.ac: Probe for SMP affinity methods 2013-12-13 08:35:52 -06:00
Sebastian Huber
927a0a1f99 posix: Use cleanup contexts on the stack
Provide support for latest Newlib <pthread.h> change.  The cleanup
contexts are stored on the thread stack.  This is conformant with the
POSIX requirements for the pthread_cleanup_push() and
pthread_cleanup_pop() statement pair.

Passing an invalid pointer as the routine to pthread_cleanup_push() is
now a usage error and the behaviour is undefined.
2013-12-02 09:24:51 +01:00
Philipp Eppelt
6ffaeb2899 add --enable-paravirt in cpukit configure scripts 2013-11-27 15:54:04 -05:00
Sebastian Huber
91404ded25 libmisc: Provide libutf8proc conditionally 2013-07-26 11:55:48 +02:00
WeiY
2e7f579865 stdatomic.h support check when configure 2013-07-17 13:07:33 +02:00
WeiY
502693f50e Clear the atomic conditional compilation. 2013-05-01 10:28:48 -04:00
Anthony Green
48fc25fb44 Common file changes in support of Moxie port
Signed-off-by: Anthony Green <green@moxielogic.com>
2013-02-28 12:24:18 -05:00
Ralf Corsépius
a718918fba Add RTEMS_CHECK_ATOMIC, RTEMS_CPUOPT([RTEMS_ATOMIC]), AM_CONDITIONAL ATOMIC. 2013-02-14 23:45:58 +01:00
Sebastian Huber
f1738ed619 score: PR1607: Add and use CPU_SIZEOF_POINTER
Add and use new CPU port define CPU_SIZEOF_POINTER.  It must be an
integer literal that can be used by the assembler.  This value will be
used to calculate offsets of structure members.  These offsets will be
used in assembler code.

The size of a pointer is part of the application binary interface (ABI)
and thus independent of the actual programming language.  The compiler
will provide defines to determine the current ABI.  We use these defines
to select the appropriate CPU_SIZEOF_POINTER value.

Static assertions in the new file "cpukit/score/src/percpuasm.c" will
ensure that the value of CPU_SIZEOF_POINTER is consistent with the
current compiler settings.  Also the offset values used by assembler
code are verfied.
2012-11-22 16:35:07 +01:00
Joel Sherrill
2e83663a88 cpukit/configure.ac: Remove unused use ticks for statistics options
The following were not used in any code:
  __RTEMS_USE_TICKS_CPU_USAGE_STATISTICS__
  __RTEMS_USE_TICKS_RATE_MONOTONIC_STATISTICS__

Both CPU Usage and Rate Monotonic Period Statistics are switched
to ticks resolution by configuring with __RTEMS_USE_TICKS_FOR_STATISTICS__
set to 1 on the configure command line.
2012-09-28 17:19:59 -05:00
Ralf Corsépius
bb2b8259ea Require automake-1.12.2. 2012-07-19 15:47:55 +02:00
Ralf Corsépius
0f772813aa Require autoconf-2.69. 2012-07-19 15:44:32 +02:00
Joel Sherrill
2d7ae960bb v850 port: Initial addition with BSP for simulator in GDB
Port
  + v850 does not have appear to have any optimized bit scan instructions
  + v850 does have single instructions for wap u16 and u32
  + Code path optimization preferences set
  + Add BSP variants for each GCC CPU model flag and a README
    - v850e1 variant does not work (fails during BSP initialization)
BSP for GDB v850 Simulator
  + linkcmds matches defaults in GDB simulator with RTEMS mods
  + crt1.c added from v850 newlib port for __main()
  + BSP exits cleanly
  + printk and console I/O work
  + uses clock tick from IDLE task
  + Tests not requiring real clock ISR work
Documentation
  + CPU Supplment chapter for v850 added
2012-06-11 13:37:29 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
ee32f67a6f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Gedare Bloom
fb78f9170f PR1908: consolidate libqos code and fix installed header location 2012-04-23 09:26:34 -04:00
Petr Benes
c050143273 PR1908: QoS library for CBS scheduler
Since the CBS scheduler is inspired by AQuoSA project for Linux, additional API
(qreslib) compliant with Linux has been created.

Sptest for qreslib included.
2012-04-15 23:06:34 -04:00
Ralf Corsépius
396b80ebf6 2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for rcmd in unistd.h.
	* libnetworking/libc/rcmd.c: Build iff rcmd is declared in unistd.h.
	Change rcmd's decl to match with Linux/FreeBSD's decl.
2012-03-02 09:40:03 +01:00
Sebastian Huber
be42aa1aef Revert "Google C++ Testing Framework 1.6.0."
This reverts commit 9bf3a86865.
2012-01-26 09:58:10 +01:00
Sebastian Huber
9bf3a86865 Google C++ Testing Framework 1.6.0. 2012-01-23 10:50:19 +01:00
Ralf Corsepius
66496446db 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for getrusage.h decl.
	* libcsupport/src/getrusage.c:
	Apply HAVE_DECL_GETRUSAGE (Missing prototypes).
2011-12-13 06:47:21 +00:00
Ralf Corsepius
b317c39155 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for envlock.h.
	Check for decls of __env_lock, __env_unlock.
2011-12-06 08:15:32 +00:00
Ralf Corsepius
74bfa2e492 2011-10-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for decls of utime and utimes.
2011-10-24 13:08:05 +00:00
Ralf Corsepius
ad9eaf26d2 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for size of time_t.
2011-09-30 13:08:45 +00:00
Ralf Corsepius
7383b64448 2011-05-18 Ralf Corsépius <ralf.corsepius@rtems.org>
*  configure.ac: Require time.h to provide CLOCK_PROCESS_CPUTIME_ID,
	CLOCK_THREAD_CPUTIME_ID.
2011-05-18 08:59:44 +00:00
Joel Sherrill
06dcaf09e6 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* configure.ac, sapi/include/confdefs.h, sapi/src/exinit.c,
	score/Makefile.am, score/preinstall.am,
	score/cpu/i386/rtems/score/cpu.h, score/cpu/sparc/cpu_asm.S,
	score/cpu/sparc/rtems/score/cpu.h,
	score/include/rtems/score/basedefs.h,
	score/include/rtems/score/context.h,
	score/include/rtems/score/percpu.h, score/src/percpu.c,
	score/src/thread.c, score/src/threadcreateidle.c: Add next step in
	SMP support. This adds an allocated array of the Per_CPU structures
	to support multiple cpus vs a single instance of the structure which
	is still used if SMP support is disabled. Configuration support is
	also added to explicitly enable or disable SMP. But SMP can only be
	enabled for the CPUs which will support it initially -- SPARC and
	i386. With the stub BSP support, a BSP can be run as a single core
	SMP system from an RTEMS data structure standpoint.
	* aclocal/check-smp.m4, aclocal/enable-smp.m4,
	score/include/rtems/bspsmp.h, score/include/rtems/score/smplock.h,
	score/src/smp.c, score/src/smplock.c: New files.
2011-03-16 20:05:06 +00:00
Ralf Corsepius
36d9f42fbc 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Rework checks for mandated headers tar.h,
	errno.h, sched.h, sys/cdefs.h, sys/queue.h.
2011-03-02 07:24:24 +00:00
Ralf Corsepius
87f5e2d207 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
	Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
2011-03-02 07:22:25 +00:00
Ralf Corsepius
f154804273 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/sleep_noposix.c: Remove.
	* libcsupport/Makefile.am: Reflect changes above.
	* posix/src/sleep.c, posix/src/usleep.c: Remove.
	* posix/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide sleep, usleep.
2011-02-25 10:20:02 +00:00
Ralf Corsepius
0111c50d8e 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/creat.c: Remove.
	* libcsupport/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide creat.
2011-02-25 02:52:54 +00:00
Ralf Corsepius
bbc1a10935 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/opendir.c, libcsupport/src/closedir.c,
	libcsupport/src/readdir.c, libcsupport/src/rewinddir.c,
	libcsupport/src/scandir.c, libcsupport/src/seekdir.c,
	libcsupport/src/telldir.c: Remove.
	* libcsuppport/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide
	opendir, closedir, readdir, rewinddir, scandir, seekdir,
	telldir.
2011-02-25 02:13:21 +00:00
Ralf Corsepius
c43981bc08 2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove extraneous spaces.
2011-02-11 00:31:53 +00:00
Ralf Corsepius
8ee3775f30 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:01:43 +00:00
Joel Sherrill
57e278dab9 2010-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, posix/src/signal_2.c: sighandler_t is defined
	conditionally in some versions of newlib and unconditionally in
	others. Make sure we always compile.
2010-12-03 20:34:24 +00:00
Ralf Corsepius
e76a4776a6 2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: pthread_attr* functions are in <pthread.h>, not in
	<pthreads.h>.
2010-10-08 09:44:44 +00:00
Joel Sherrill
538453e3b7 2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Revert accident commit adding libdbm to
	build.
2010-10-04 17:45:32 +00:00
Joel Sherrill
21dd3ab8b6 2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c:
	* posix/src/pthreadattrgetguardsize.c, posix/src/pthreadattrgetstack.c,
	posix/src/pthreadattrsetguardsize.c, posix/src/pthreadattrsetstack.c:
	New files.
2010-10-04 15:32:36 +00:00
Ralf Corsepius
199296db19 2010-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add checks for pthread_attr_getguardsize,
	pthread_attr_setguardsize, pthread_attr_setstack,
	pthread_attr_getstack.
2010-09-08 10:19:25 +00:00