| Commit message (Collapse) | Author | Files | Lines |
|
closes #2543.
|
|
The size of the sample executables without this option were:
text data bss dec hex filename
78560 1632 12597120 12677312 c170c0 base_sp.exe
93760 1616 12596720 12692096 c1aa80 hello.exe
31024 1216 12593472 12625712 c0a730 minimum.exe
537104 5552 12608608 13151264 c8ac20 fileio.exe
97888 1728 12597232 12696848 c1bd10 nsecs.exe
179888 2016 12597728 12779632 c30070 paranoia.exe
82864 1648 12597152 12681664 c181c0 ticker.exe
81328 1664 12600560 12683552 c18920 unlimited.exe
841296 21520 12604224 13467040 cd7da0 cxx_iostream.exe
187168 2224 12597296 12786688 c31c00 cdtest.exe
181664 2144 12598944 12782752 c30ca0 capture.exe
The size of the sample executables with this option enabled were:
text data bss dec hex filename
71280 1616 12597056 12669952 c15400 base_sp.exe
85552 1568 12596656 12683776 c18a00 hello.exe
22272 1168 12593408 12616848 c08490 minimum.exe
521808 5520 12608272 13135600 c86ef0 fileio.exe
91696 1696 12597168 12690560 c1a480 nsecs.exe
172256 1984 12597664 12771904 c2e240 paranoia.exe
76336 1616 12597088 12675040 c167e0 ticker.exe
73296 1632 12600496 12675424 c16960 unlimited.exe
163568 2160 12596960 12762688 c2be40 cxx_iostream.exe
171744 2096 12597216 12771056 c2def0 cdtest.exe
172384 2080 12598880 12773344 c2e7e0 capture.exe
|
|
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.
|
|
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.
|
|
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
|
|
|
|
|
|
|
|
|
|
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().
|
|
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.
Add and use rtems_bsdnet_event_send().
|
|
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.
|
|
|
|
|
|
|
|
|
|
* include/bsp.h:
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/gen68302.cfg: Remove RTEMS_BSP_FAMILY.
|
|
* configure.ac: Don't add -ansi -fasm to CFLAGS.
|
|
* make/custom/gen68302.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.
|
|
* start/start.S: Update for boot_card command line change.
|
|
* bsp_specs: Move -e start from *link to *startfile to avoid warning
for undefined entry symbol when linking relocatables with binutils
2.19.
|
|
* Makefile.am, preinstall.am: Use shared tm27.h stub.
* include/tm27.h: Removed.
|
|
* timer/timer.c: Eliminate uses of old benchmark timer names.
|
|
* Makefile.am: Eliminate bsp.am. Build startup files as side-effect
of building libbspstart.a, using automake-rules.
|
|
* 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.
|
|
* include/bsp.h: Remove unnecessary boilerplate comments.
|