| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
updates #2577.
|
|
|
|
| |
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.
In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:
- 16 32-bit integers were allocated.
- A total of 64 bytes per task per thread.
This is especially critical in low memory and safety-critical applications.
They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.
Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.
updates #2493.
|
|
|
|
|
|
| |
Use the bsp_predriver_hook() instead.
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was done by the following script run from libbsp:
find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
echo $b
cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
-e "s/define _BSP_H/define ${g}/" \
-i $b
done
|
| |
|
|
|
|
| |
Some includes may use C++ and this conflicts if surrounded extern "C".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
|
|
|
|
| |
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
|
|
|
|
|
| |
Apparently, at some point automake output changed and these were
not updated.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit deletes all RTEMS ChangeLog files. These files have been abandoned
since converting to git version control. The historical data may be recovered
by checking out any commit before this one. Most of the contents of these
ChangeLog files can also be found in the git log.
Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
|
| |
|
|
|
|
|
|
|
| |
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb.
Conflicts:
c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in
c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in
c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
Manually deleted conflicting files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* shmsupp/lock.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
| |
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
|
|
|
|
| |
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
| |
|
|
|
|
| |
* make/custom/no_bsp.cfg: Remove RTEMS_BSP_FAMILY.
|
|
|
|
| |
* configure.ac: Don't add -ansi -fasm to CFLAGS.
|
|
|
|
| |
* make/custom/no_bsp.cfg: New (relocated from /make/custom).
|
|
|
|
| |
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
|
|
|
|
|
| |
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
have the same options.
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Use shared tm27.h stub.
* include/tm27.h: Removed.
|
|
|
|
| |
* Makefile.am: Eliminate *_SOURCES.
|
|
|
|
|
| |
* Makefile.am: Move noinst_LIBRARIES = libbsp.a before its
components.
|
|
|
|
| |
* Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
|
|
|
|
|
|
| |
* configure.ac: Make letting boot_card() handle work area allocation
mandatory. Rename RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION to
BSP_BOOTCARD_OPTIONS.
|
|
|
|
|
| |
* Makefile.am: BSP specific bsp_cleanup() is a dupe of a shared one.
* startup/bspclean.c: Removed.
|
|
|
|
| |
* include/bsp.h: Remove unnecessary include of bsp.h
|
|
|
|
|
| |
* Makefile.am: Use top level shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
|
|
|
|
|
| |
* clock/ckinit.c: Remove unnecessary includes of rtems/libcsupport.h
and rtems/libio.h.
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, startup/bspstart.c: Create
bsp_get_work_area() into its own file and use BSP Framework to
perform more initialization.
* startup/bspgetworkarea.c: New file.
* startup/main.c: Removed.
|
|
|
|
|
|
| |
* include/bsp.h: Review of all bsp_cleanup() implementations. In this
phase, all prototypes were removed from bsp.h and empty
implementations were removed and made to use the shared stub.
|
|
|
|
|
|
|
| |
* clock/ckinit.c: The Shared Memory Driver no longer requires the
special IOCTL in Clock_control. This was a hack which has existed
since before the Classic API Timer Manager was implemented. All
implementations of and references to Clock_control were removed.
|