summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/nios2 (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-24build-system: Parallel build all subdirs.Chris Johns1-1/+1
2016-12-20Rename *.s to *.SSebastian Huber2-1/+1
Consistently use *.S for assembler files. Close #2701.
2016-03-29nios2/nios2_iss: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill1-1/+0
warnings
2016-03-27nios2/nios2_iss/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill1-1/+0
2016-03-10nios2/nios2_iss: Add per-section compilation and linking supportJoel Sherrill1-0/+3
updates #2577. For the nios2_iss BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 198692 6672 6068 211432 339e8 ticker.exe 75408 1924 1892 79224 13578 minimum.exe 1044536 36308 14032 1094876 10b4dc cxx_iostream.exe 877164 68972 19300 965436 ebb3c fileio.exe 703628 48772 37196 789596 c0c5c pppd.exe 336340 19532 8972 364844 5912c capture.exe 216196 6912 6148 229256 37f88 nsecs.exe 319236 18048 6632 343916 53f6c paranoia.exe 317556 12944 7020 337520 52670 cdtest.exe 192980 6476 6036 205492 322b4 base_sp.exe 198068 6680 9876 214624 34660 unlimited.exe 206628 4856 6036 217520 351b0 hello.exe 459304 19208 13368 491880 78168 loopback.exe For the nios2_iss BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 187044 6560 6048 199652 30be4 ticker.exe 50944 828 1880 53652 d194 minimum.exe 731956 27876 13228 773060 bcbc4 cxx_iostream.exe 848108 67272 19020 934400 e4200 fileio.exe 645152 47968 36464 729584 b21f0 pppd.exe 315092 18792 8952 342836 53b34 capture.exe 205588 6780 6128 218496 35580 nsecs.exe 305684 17916 6612 330212 509e4 paranoia.exe 305360 11476 7000 323836 4f0fc cdtest.exe 179428 6364 6016 191808 2ed40 base_sp.exe 182036 6548 9856 198440 30728 unlimited.exe 189908 4708 6016 200632 30fb8 hello.exe 421696 18772 13280 453748 6ec74 loopback.exe
2016-02-03Use linker set for libio initializationSebastian Huber1-2/+0
Update #2408.
2015-12-24api: Remove deprecated NotepadsAun-Ali Zaidi1-2/+0
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.
2015-12-10bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber1-1/+0
Use the bsp_predriver_hook() instead. Update #2408.
2015-12-09bsps: Fix some linker set descriptionsSebastian Huber1-1/+2
Fix broken RTEMS linker set descriptions introduced by b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
2015-12-08Add RTEMS linker setsSebastian Huber1-1/+2
Update #2408.
2015-07-16Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill1-2/+2
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
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-0/+2
Update #2271.
2014-12-05Update bug report URLSebastian Huber2-2/+2
2014-10-23bsps: Move extern "C" to not cover includesSebastian Huber1-4/+4
Some includes may use C++ and this conflicts if surrounded extern "C".
2014-10-20nios2/nios2_iss: Fix warningsJoel Sherrill3-51/+28
2014-10-13nios2/nios2_iss/clock/clock.c: Fix warningsJoel Sherrill1-3/+4
2014-10-10Add console-polled.h and update all BSPs that should use it.Joel Sherrill3-3/+10
The file console-polled.h provides the prototypes for the three required methods when implementing a single port polled console driver. This paradigm is common on simulators and simple hardware. + Updated the BSPs Makefile.am to make console-polled.h available. + Regenerated the BSPs preinstall.sm. + Updated console support files to include <bsp/console-polled.h>. + Updated console support files to make printk() support method static.
2014-09-16Use correct prototype of benchmark_timer_read()Joel Sherrill1-1/+1
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.
2014-09-04nios2_iss/Makefile.am: Add cacheJoel Sherrill1-5/+17
2014-08-29Regenerate all preinstall.am files.Chris Johns1-7/+7
With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
2014-08-28Regenerate all preinstall.am files.Joel Sherrill1-3/+3
Apparently, at some point automake output changed and these were not updated.
2014-04-22bsps: Fix TLS support in linker command filesSebastian Huber1-1/+3
The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
2014-03-21nios2_iss/include/bsp.h: Remove rtems_bsp_delay()Joel Sherrill1-10/+0
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns8-8/+8
2014-02-04bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber1-0/+17
2013-08-09Use $(EXEEXT) [defaults to "exe"] to generate binariesNick Withers1-1/+1
2013-03-08RTEMS: Delete ChangeLog files.Gedare Bloom2-407/+0
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.
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber1-0/+1
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().
2012-08-06Revert "Add bspopts.h.in."Gedare Bloom1-31/+0
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.
2012-07-19Require automake-1.12.2.Ralf Corsépius2-2/+2
2012-07-19Require autoconf-2.69.Ralf Corsépius2-2/+2
2012-05-24Add bspopts.h.in.Ralf Corsépius1-0/+31
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill15-36/+0
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-07Revert: Remove CVS IdsJoel Sherrill4-0/+12
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius4-12/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill3-20/+0
2011-10-212011-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-6/+8
* console/console.c (ISS_output_char): Add return type. * timer/timer.c: Remove unused vars "old_ie".
2011-09-012011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-7/+14
* startup/bspstart.c: Update due to API changes.
2011-07-292011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-6/+4
* bsp_specs: Remove *lib (Anachronism).
2011-03-212011-03-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill6-240/+6
* Makefile.am: Remove stub version. * shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c: Removed.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+6
* shmsupp/lock.c: Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-092011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+7
* timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
2011-02-022011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius4-4/+12
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2009-11-30Whitespace removal.Ralf Corsepius2-6/+6
2009-11-28Whitespace removal.Ralf Corsepius2-2/+2
2009-10-212009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-3/+4
* make/custom/nios2_iss.cfg: Remove RTEMS_BSP_FAMILY.
2009-10-202009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* configure.ac: Don't add -ansi -fasm to CFLAGS.
2009-10-152009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+34
* make/custom/nios2_iss.cfg: New (relocated from /make/custom).
2009-09-152009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+5
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
2009-07-162009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-10/+8
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs have the same options.