| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Anthony Green <green@moxielogic.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since the CBS scheduler is inspired by AQuoSA project for Linux, additional API
(qreslib) compliant with Linux has been created.
Sptest for qreslib included.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
This reverts commit 9bf3a868655f260c2fa6cbcab16f0218cf53e5b8.
|
| |
|
|
|
|
|
|
| |
* configure.ac: Check for getrusage.h decl.
* libcsupport/src/getrusage.c:
Apply HAVE_DECL_GETRUSAGE (Missing prototypes).
|
|
|
|
|
| |
* configure.ac: Check for envlock.h.
Check for decls of __env_lock, __env_unlock.
|
|
|
|
| |
* configure.ac: Check for decls of utime and utimes.
|
|
|
|
| |
* configure.ac: Check for size of time_t.
|
|
|
|
|
| |
* configure.ac: Require time.h to provide CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* configure.ac: Rework checks for mandated headers tar.h,
errno.h, sched.h, sys/cdefs.h, sys/queue.h.
|
|
|
|
|
| |
* configure.ac: Remove unused AM_CONDITIONAL([NEED_SYS_CDEFS_H]).
Remove unused AM_CONDITIONAL([NEED_SYS_QUEUE_H]).
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* libcsupport/src/creat.c: Remove.
* libcsupport/Makefile.am: Reflect changes above.
* configure.ac: Error out if libc doesn't provide creat.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.ac: Remove extraneous spaces.
|
|
|
|
| |
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* configure.ac: pthread_attr* functions are in <pthread.h>, not in
<pthreads.h>.
|
|
|
|
|
| |
* Makefile.am, configure.ac: Revert accident commit adding libdbm to
build.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* configure.ac: Add checks for pthread_attr_getguardsize,
pthread_attr_setguardsize, pthread_attr_setstack,
pthread_attr_getstack.
|
|
|
|
|
| |
* configure.ac: Apply RTEMS_CHECK_FUNC for set/get*id family of
functions. Extend set/get*id family of checks.
|
|
|
|
|
| |
* configure.ac: Add checks for [get|set][e][uid,gid] family of
functions.
|
|
|
|
|
|
| |
* configure.ac, score/include/rtems/score/percpu.h: Add
__RTEMS_SIZEOF_VOID_P__ to cpuopts.h so percpu.h has this information
available during build and after installation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1573/cpukit
* configure.ac, posix/src/killinfo.c,
posix/src/psignalclearprocesssignals.c,
posix/src/psignalsetprocesssignals.c,
posix/src/psignalunblockthread.c, posix/src/pthreadcreate.c,
posix/src/pthreadkill.c, posix/src/pthreadsigmask.c,
rtems/src/signalsend.c, rtems/src/taskmode.c, score/Makefile.am,
score/preinstall.am, score/include/rtems/system.h,
score/include/rtems/score/context.h, score/include/rtems/score/isr.h,
score/include/rtems/score/thread.h, score/src/isr.c,
score/src/isrthreaddispatch.c, score/src/thread.c,
score/src/threaddispatch.c, score/src/threadloadenv.c: Add a per cpu
data structure which contains the information required by RTEMS for
each CPU core. This encapsulates information such as thread
executing, heir, idle and dispatch needed.
* score/include/rtems/score/percpu.h, score/src/percpu.c: New files.
|
| |
|
|
|
|
|
| |
PR 1561/cpukit
* configure.ac, score/cpu/Makefile.am: Merge SPARC64 port.
|
|
|
|
|
|
|
| |
* include/rtems/tar.h, libcsupport/include/tar.h: Remove.
* configure.ac: Require toolchain to provide tar.h.
* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.h:
Use <tar.h> instead of <rtems/tar.h>.
|
|
|
|
| |
* configure.ac: Remove c4x.
|
|
|
|
|
| |
* Makefile.am, configure.ac: Remove support for shttpd.
* aclocal/enable-shttpd.m4: Remove.
|
|
|
|
|
| |
* Makefile.am, configure.ac: Remove support for httpd (GoAhead).
* aclocal/enable-httpd.m4: Remove.
|
|
|
|
|
| |
* libfs/src/nfsclient/src/dirutils.c: Add PRIomode_t, PRIdoff_t.
* configure.ac: Add AC_CHECK_SIZEOF(mode_t), AC_CHECK_SIZEOF(off_t).
|