Commit Graph

239 Commits

Author SHA1 Message Date
Joel Sherrill
6442d54d5c tools/build/rtems-test-check: Support multiple include files 2015-03-22 10:29:57 -05:00
Joel Sherrill
41a007422d tools/cpu/sh/sci.c: Add include of bsp.h to generated file 2015-03-09 16:14:16 -05:00
Sebastian Huber
748fbd1b3f rtems-bin2c: Fix Windows build
Update #2238.
2015-02-23 16:55:12 +01:00
Gedare Bloom
1281c34a23 Use counted strnlen in bin2c. Closes #2238. 2015-02-23 10:38:37 -05:00
Sebastian Huber
b033e85324 tools: Fix fprintf() statement
Close #2240.
2015-01-23 12:47:46 +01:00
Joel Sherrill
125e23bdcf tools/cpu/nios2/ptf.c: Add include to fix warnings 2015-01-13 15:41:32 -06:00
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01:00
Sebastian Huber
9ab1558f6e tools: Provide strnlen() if missing 2014-12-02 13:05:30 +01:00
Joel Sherrill
a8b071dbd5 rtems-bin2c.c: Fix free() of altered pointer 2014-11-27 09:28:42 -06:00
Josh Oguin
b164303012 tools/build/*.c: Clean up issues reported by CodeSonar
This code is built without warnings and ignored by Coverity Scan.
CodeSonar found a wide range of issues including buffer overruns,
buffer underruns, questionable type conversions, leaks, etc. This
set of patches addresses all reported issues.
2014-11-26 07:52:00 -06:00
Chris Johns
960c9f0298 tools: Remove invalid cpp characters from the header guards.
The waf converter in examples-v2 uses an absolute path and this
creates defines with invalid characters.
2014-09-05 13:29:45 +10:00
Chris Johns
431bb85dde rtems-test-check: Ignore tests which require real ISR based clock tick
BSPs for simulators which do not include a clock tick interrupt source
are incapable of running some tests successfully. This is a common
characteristic of some BSPs and a fixed set of tests. There is no point
in duplicating this list of tests in those BSPs test configuration.

Read testsuites/testdata/require-tick-isr.tcfg for details.
2014-05-28 23:44:26 +10:00
Chris Johns
1461b648b7 testsuite: Add a per BSP test check for tests not to build.
Provide a file per BSP to list tests that do not build for a BSP. This change
removes the BSP_SMALL_MEMORY hack from the code. That hack was a
mistake.

Provide configuration files for each BSP with tests that cannot build.
2014-05-05 10:24:41 +10:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Cynthia Rempel
2f0d5e453b Initialize the string before replacing characters 2013-08-26 09:25:58 +02:00
Gedare Bloom
fad2d38a9f RTEMS: Delete ChangeLog files.
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.
2013-03-08 15:55:06 -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
65c6425de9 Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
2012-05-11 08:44:14 -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
a53584c028 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
8ebf3db423 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
d8ba99b47d Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
323d04127f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
0b6bf2b6a1 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Joel Sherrill
903bd10600 2011-06-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* config.h.in: Regenerated.
2011-06-08 16:13:16 +00:00
Joel Sherrill
d751cecbb1 * tools/build/.cvsignore, tools/build/ChangeLog,
tools/build/Makefile.am, tools/build/README, tools/build/binpatch.c,
	tools/build/cklength.c, tools/build/config.h.in,
	tools/build/configure.ac, tools/build/cvsignore-add.sh,
	tools/build/doxy-filter, tools/build/eolstrip.c,
	tools/build/install-if-change.in, tools/build/multigen,
	tools/build/packhex.c, tools/build/rtems-bin2c.c,
	tools/build/search-id.sh, tools/build/unhex.c, tools/cpu/.cvsignore,
	tools/cpu/ChangeLog, tools/cpu/Makefile.am, tools/cpu/configure.ac,
	tools/cpu/generic/.cvsignore, tools/cpu/generic/ChangeLog,
	tools/cpu/generic/Makefile.am, tools/cpu/generic/configure.ac,
	tools/cpu/generic/size_rtems.in, tools/cpu/nios2/.cvsignore,
	tools/cpu/nios2/ChangeLog, tools/cpu/nios2/Makefile.am,
	tools/cpu/nios2/README, tools/cpu/nios2/bridges.c,
	tools/cpu/nios2/bridges.h, tools/cpu/nios2/clocks.c,
	tools/cpu/nios2/clocks.h, tools/cpu/nios2/configure.ac,
	tools/cpu/nios2/devices.c, tools/cpu/nios2/devices.h,
	tools/cpu/nios2/linkcmds.c, tools/cpu/nios2/linkcmds.h,
	tools/cpu/nios2/memory.c, tools/cpu/nios2/memory.h,
	tools/cpu/nios2/nios2gen.c, tools/cpu/nios2/output.c,
	tools/cpu/nios2/output.h, tools/cpu/nios2/ptf.c,
	tools/cpu/nios2/ptf.h, tools/cpu/nios2/sample.ptf,
	tools/cpu/sh/.cvsignore, tools/cpu/sh/AUTHORS, tools/cpu/sh/COPYING,
	tools/cpu/sh/ChangeLog, tools/cpu/sh/Makefile.am, tools/cpu/sh/TODO,
	tools/cpu/sh/configure.ac, tools/cpu/sh/sci.c, tools/cpu/sh/sci.h,
	tools/cpu/sh/shgen.c: New files.
2011-05-17 20:39:40 +00:00
Joel Sherrill
d305d75c7e 2011-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* tools/build/.cvsignore, tools/build/ChangeLog,
	tools/build/Makefile.am, tools/build/README, tools/build/binpatch.c,
	tools/build/cklength.c, tools/build/configure.ac,
	tools/build/cvsignore-add.sh, tools/build/doxy-filter,
	tools/build/eolstrip.c, tools/build/install-if-change.in,
	tools/build/multigen, tools/build/packhex.c,
	tools/build/rtems-bin2c.c, tools/build/search-id.sh,
	tools/build/unhex.c, tools/cpu/.cvsignore, tools/cpu/ChangeLog,
	tools/cpu/Makefile.am, tools/cpu/configure.ac,
	tools/cpu/generic/.cvsignore, tools/cpu/generic/ChangeLog,
	tools/cpu/generic/Makefile.am, tools/cpu/generic/configure.ac,
	tools/cpu/generic/size_rtems.in, tools/cpu/nios2/.cvsignore,
	tools/cpu/nios2/ChangeLog, tools/cpu/nios2/Makefile.am,
	tools/cpu/nios2/README, tools/cpu/nios2/bridges.c,
	tools/cpu/nios2/bridges.h, tools/cpu/nios2/clocks.c,
	tools/cpu/nios2/clocks.h, tools/cpu/nios2/configure.ac,
	tools/cpu/nios2/devices.c, tools/cpu/nios2/devices.h,
	tools/cpu/nios2/linkcmds.c, tools/cpu/nios2/linkcmds.h,
	tools/cpu/nios2/memory.c, tools/cpu/nios2/memory.h,
	tools/cpu/nios2/nios2gen.c, tools/cpu/nios2/output.c,
	tools/cpu/nios2/output.h, tools/cpu/nios2/ptf.c,
	tools/cpu/nios2/ptf.h, tools/cpu/nios2/sample.ptf,
	tools/cpu/sh/.cvsignore, tools/cpu/sh/AUTHORS, tools/cpu/sh/COPYING,
	tools/cpu/sh/ChangeLog, tools/cpu/sh/Makefile.am, tools/cpu/sh/TODO,
	tools/cpu/sh/configure.ac, tools/cpu/sh/sci.c, tools/cpu/sh/sci.h,
	tools/cpu/sh/shgen.c, tools/schedsim/.cvsignore,
	tools/schedsim/ChangeLog, tools/schedsim/Makefile.am,
	tools/schedsim/README, tools/schedsim/configure.ac,
	tools/schedsim/rtems/.cvsignore, tools/schedsim/rtems/ChangeLog,
	tools/schedsim/rtems/Makefile.am, tools/schedsim/rtems/interr.c,
	tools/schedsim/rtems/rtems_init.c,
	tools/schedsim/rtems/rtems_sched.h, tools/schedsim/rtems/wkspace.c,
	tools/schedsim/rtems/sched_cpu/cpu.c,
	tools/schedsim/rtems/sched_cpu/cpu_asm.c,
	tools/schedsim/rtems/sched_cpu/rtems/asm.h,
	tools/schedsim/rtems/sched_cpu/rtems/stringto.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/cpu.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/cpu_asm.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/no_cpu.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/types.h,
	tools/schedsim/shell/.cvsignore, tools/schedsim/shell/ChangeLog,
	tools/schedsim/shell/Makefile.am,
	tools/schedsim/shell/schedsim_priority/.cvsignore,
	tools/schedsim/shell/schedsim_priority/Makefile.am,
	tools/schedsim/shell/schedsim_priority/config.c,
	tools/schedsim/shell/schedsim_priority/printheir_executing.c,
	tools/schedsim/shell/schedsim_priority/schedsim.cc,
	tools/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c,
	tools/schedsim/shell/scripts/script01,
	tools/schedsim/shell/scripts/script02,
	tools/schedsim/shell/scripts/script03,
	tools/schedsim/shell/scripts/script04,
	tools/schedsim/shell/scripts/script05,
	tools/schedsim/shell/scripts/script06,
	tools/schedsim/shell/shared/.cvsignore,
	tools/schedsim/shell/shared/Makefile.am,
	tools/schedsim/shell/shared/commands.c,
	tools/schedsim/shell/shared/getopt.c,
	tools/schedsim/shell/shared/lookup_semaphore.c,
	tools/schedsim/shell/shared/lookup_task.c,
	tools/schedsim/shell/shared/main_clocktick.c,
	tools/schedsim/shell/shared/main_echo.c,
	tools/schedsim/shell/shared/main_executing.c,
	tools/schedsim/shell/shared/main_heir.c,
	tools/schedsim/shell/shared/main_help.c,
	tools/schedsim/shell/shared/main_rtemsinit.c,
	tools/schedsim/shell/shared/main_semcreate.c,
	tools/schedsim/shell/shared/main_semdelete.c,
	tools/schedsim/shell/shared/main_semflush.c,
	tools/schedsim/shell/shared/main_semobtain.c,
	tools/schedsim/shell/shared/main_semrelease.c,
	tools/schedsim/shell/shared/main_taskcreate.c,
	tools/schedsim/shell/shared/main_taskdelete.c,
	tools/schedsim/shell/shared/main_taskmode.c,
	tools/schedsim/shell/shared/main_taskpriority.c,
	tools/schedsim/shell/shared/main_taskresume.c,
	tools/schedsim/shell/shared/main_tasksuspend.c,
	tools/schedsim/shell/shared/main_taskwakeafter.c,
	tools/schedsim/shell/shared/schedsim_shell.h,
	tools/schedsim/shell/shared/shell_cmdset.c,
	tools/schedsim/shell/shared/shell_makeargs.c,
	tools/schedsim/shell/shared/include/shell.h,
	tools/schedsim/shell/shared/include/newlib/_ansi.h,
	tools/schedsim/shell/shared/include/newlib/getopt.h: Removed.

	* configure.ac: RTEMS Scheduler Simulator is now in its own CVS module
	named rtems-schedsim.
2011-05-17 20:37:15 +00:00
Ralf Corsepius
43136ea02b 2011-05-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/interr.c: Minimize diffs to cpukit/score/src/interr.c.
	* rtems/sched_cpu/rtems/score/cpu.h:
	Incorporate parts of former posix BSP.
2011-05-13 15:50:56 +00:00
Jennifer Averett
469a993f14 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.com
PR 1777/cpukit
	* tools/schedsim/rtems/rtems_init.c: Consolidated access to
	_Thread_Dispatch_disable_level.
2011-04-21 19:09:13 +00:00
Joel Sherrill
4847716dec 2011-04-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add schedulersimple.h
2011-04-11 17:22:46 +00:00
Joel Sherrill
b7528cf295 2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: New file.
2011-04-07 18:20:32 +00:00
Joel Sherrill
b467831a38 2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/main_clocktick.c, shared/main_semcreate.c,
	shared/main_semdelete.c, shared/main_semflush.c,
	shared/main_semobtain.c, shared/main_semrelease.c,
	shared/main_taskcreate.c, shared/main_taskdelete.c,
	shared/main_taskmode.c, shared/main_taskpriority.c,
	shared/main_taskresume.c, shared/main_tasksuspend.c,
	shared/main_taskwakeafter.c, shared/schedsim_shell.h: Compiles now
	and do not core dump when RTEMS is not initialized.
2011-04-07 18:12:41 +00:00
Joel Sherrill
e69369c7cd 2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, wkspace.c: Compiles now and do not core dump when RTEMS
	is not initialized.
2011-04-07 18:12:39 +00:00
Joel Sherrill
d80ea5bf58 2011-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* sched_cpu/rtems/score/cpuopts.h: Bump to 4.10.99.0
2011-02-28 21:58:36 +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
Ralf Corsepius
fb1d445e5e 2011-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_PATH_KSH (Unused).
	Require autoconf >= 2.68, automake >= 1.11.1.
	Add AC_PROG_CC_C99 to enforce c99 hoping this will suffice to make
	this stuff compilable with older GCCs (works on some hosts).
2011-01-29 07:07:00 +00:00
Joel Sherrill
7accb652a7 2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jennifer Averett <jennifer.averett@oarcorp.com>

	Add RTEMS Scheduler Simulator.  This is the top level of the tree.
	* .cvsignore, ChangeLog, Makefile.am, configure.ac: New files.
2010-12-17 14:53:29 +00:00
Joel Sherrill
f9b0a390e1 2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore: New file.
2010-12-17 14:53:04 +00:00
Joel Sherrill
4bc2c9886b 2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jennifer Averett <jennifer.averett@oarcorp.com>

	Add RTEMS Scheduler Simulator.  This is the RTEMS "port" to and
	adapter code to run on GNU/Linux with a fake context switch.
	* ChangeLog, Makefile.am, interr.c, rtems_init.c, rtems_sched.h,
	wkspace.c, sched_cpu/cpu.c, sched_cpu/cpu_asm.c,
	sched_cpu/rtems/asm.h, sched_cpu/rtems/stringto.h,
	sched_cpu/rtems/score/cpu.h, sched_cpu/rtems/score/cpu_asm.h,
	sched_cpu/rtems/score/cpuopts.h, sched_cpu/rtems/score/no_cpu.h,
	sched_cpu/rtems/score/types.h: New files.
2010-12-17 14:51:56 +00:00
Joel Sherrill
abff6d226a 2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jennifer Averett <jennifer.averett@oarcorp.com>

	Add RTEMS Scheduler Simulator.  This is the shell scripting portion.
	* .cvsignore, ChangeLog, Makefile.am, schedsim_priority/.cvsignore,
	schedsim_priority/Makefile.am, schedsim_priority/config.c,
	schedsim_priority/printheir_executing.c,
	schedsim_priority/schedsim.cc,
	schedsim_priority/wrap_thread_dispatch.c, scripts/script01,
	scripts/script02, scripts/script03, scripts/script04,
	scripts/script05, scripts/script06, shared/.cvsignore,
	shared/Makefile.am, shared/commands.c, shared/getopt.c,
	shared/lookup_semaphore.c, shared/lookup_task.c,
	shared/main_clocktick.c, shared/main_echo.c, shared/main_executing.c,
	shared/main_heir.c, shared/main_help.c, shared/main_rtemsinit.c,
	shared/main_semcreate.c, shared/main_semdelete.c,
	shared/main_semflush.c, shared/main_semobtain.c,
	shared/main_semrelease.c, shared/main_taskcreate.c,
	shared/main_taskdelete.c, shared/main_taskmode.c,
	shared/main_taskpriority.c, shared/main_taskresume.c,
	shared/main_tasksuspend.c, shared/main_taskwakeafter.c,
	shared/schedsim_shell.h, shared/shell_cmdset.c,
	shared/shell_makeargs.c, shared/include/shell.h,
	shared/include/newlib/_ansi.h, shared/include/newlib/getopt.h: New
	files.
2010-12-17 14:49:40 +00:00
Ralf Corsepius
49fb1c5033 2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems-bin2c.c: Fix memory leak in '.c' suffix strip.
	Also strip '.h' suffix.
2010-07-30 12:44:32 +00:00
Ralf Corsepius
b3ef132204 2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems-bin2c.c: Make -v (verbose) working.
2010-07-30 12:26:11 +00:00
Ralf Corsepius
88c93c310b 2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for libgen.h, basename.
	* rtems-bin2c.c: Use basename(3) instead of strrchr cascade.
	Introduce ifbasename. Use ifbasename in generated files.
2010-07-30 12:09:38 +00:00
Ralf Corsepius
bafe269d8e 2010-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems-bin2c.c: Add -C and -H options.
2010-07-29 17:12:38 +00:00
Joel Sherrill
438997f6a4 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* eolstrip.c: Readdress use of ctype methods per recommendation from
	D.J. Delorie on the newlib mailing list. We should pass an unsigned
	char into these methods.
2010-03-12 16:27:00 +00:00
Ralf Corsepius
335d67ac6b Whitespace removal. 2009-12-10 14:23:57 +00:00
Ralf Corsepius
5f5f681b69 Whitespace removal. 2009-12-10 07:20:06 +00:00