Commit Graph

18749 Commits

Author SHA1 Message Date
Ralf Corsepius
a34d679ad1 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/malloc_p.h: Rely upon uintmax_t and PRIuMAX being
	provided.
2009-09-15 09:57:08 +00:00
Ralf Corsepius
002ca54e49 Rely upon uintmax_t and PRIuMAX being provided. 2009-09-15 09:56:52 +00:00
Ralf Corsepius
23c0451e76 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/libio_init.c, libcsupport/src/libio.c:
	Reflect rtems_libio_number_iops being uint32_t.
2009-09-15 09:53:12 +00:00
Ralf Corsepius
79e028d34c Reflect rtems_libio_number_iops being uint32_t. 2009-09-15 09:53:01 +00:00
Ralf Corsepius
fcb9044f98 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/libio_init.c: Reflect rtems_libio_number_iops
	being uint32_t.
2009-09-15 09:50:06 +00:00
Ralf Corsepius
464cd4c497 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/libio_init.c: Remove extern uint32_t
	rtems_libio_number_iops.
2009-09-15 09:47:14 +00:00
Ralf Corsepius
278fbfd66a Remove extern uint32_t rtems_libio_number_iops. 2009-09-15 09:46:54 +00:00
Ralf Corsepius
103c421f5d 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/fcntl.c, libcsupport/src/malloc_boundary.c,
	libcsupport/src/newlibc_reent.c, libcsupport/src/printk_plugin.c,
	libcsupport/src/stat.c, libcsupport/src/tcflow.c,
	libcsupport/src/tcflush.c, libcsupport/src/tcsendbreak.c,
	libcsupport/src/tcsetpgrp.c, libcsupport/src/unlink.c,
	libcsupport/src/unmount.c, libcsupport/src/write_r.c:
	Add __attribute__((unused)) to function arguments.
2009-09-15 09:42:56 +00:00
Ralf Corsepius
2e8737ad5e Add __attribute__((unused)) to function arguments. 2009-09-15 09:42:46 +00:00
Ralf Corsepius
f50ebdb6c2 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c,
	libcsupport/src/__sbrk.c, libcsupport/src/__times.c,
	libcsupport/src/_calloc_r.c, libcsupport/src/_free_r.c,
	libcsupport/src/_malloc_r.c, libcsupport/src/_realloc_r.c
	libcsupport/src/_rename_r.c, libcsupport/src/assocnamebad.c
	libcsupport/src/close.c, libcsupport/src/envlock.c
	libcsupport/src/fstat.c, libcsupport/src/getgroups.c
	libcsupport/src/getpid.c, libcsupport/src/isatty_r.c
	libcsupport/src/link.c, libcsupport/src/lseek.c
	libcsupport/src/open.c, libcsupport/src/read.c
	libcsupport/src/setpgid.c: Add __attribute__((unused)) to function
	arguments.
2009-09-15 09:30:21 +00:00
Ralf Corsepius
9e14ca27ef Add __attribute__((unused)) to function arguments. 2009-09-15 09:29:55 +00:00
Ralf Corsepius
ead79688da 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1441/cpukit
	* libcsupport/src/tcgetprgrp.c: Remove.
	* libcsupport/src/tcgetpgrp.c: New (Renamed from
	  libcsupport/src/tcgetprgrp.c).
	* libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c.
	  Remove libcsupport/src/tcgetprgrp.c.
2009-09-15 05:32:49 +00:00
Ralf Corsepius
37008d0686 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getpwent.c: Ansify.
2009-09-15 04:18:40 +00:00
Joel Sherrill
0f4de1e33b 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Minor correction to test case so it hits
	the intended code.
2009-09-14 20:07:32 +00:00
Joel Sherrill
d5ef083689 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Revert accidentally committed lines.
2009-09-14 20:06:33 +00:00
Joel Sherrill
a5b04dabd9 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp65/init.c: Add new test to exercise very
	simple priority ceiling case that was previously only tested via the
	POSIX API.
	* sp66/.cvsignore, sp66/Makefile.am, sp66/init.c, sp66/sp66.doc,
	sp66/sp66.scn: New files.
2009-09-14 20:05:44 +00:00
Joel Sherrill
ab2422c01f 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtests/psxclock/init.c, psxtests/psxclock/psxclock.scn: Add test
	case for nanosleep of a very small delay which mathematically is less
	than a clock tick.
2009-09-14 17:59:29 +00:00
Ralf Corsepius
a512ed213f 2009-09-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-bsps.m4: Add csb337 bsp family.
2009-09-14 15:42:28 +00:00
Joel Sherrill
0881ed02fd 2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/heapalignupuptr.c, score/src/heapallocatealigned.c:
	Removed files.
	* score/Makefile.am: Update.
2009-09-14 15:32:02 +00:00
Ralf Corsepius
27cb9ec53d 2009-09-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* capture/test1.c: Use size_t for sizes.
2009-09-14 14:56:35 +00:00
Ralf Corsepius
4ea75f2d1e 2009-09-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/gen83xx.cfg: Remove -funit-at-a-time.
2009-09-14 14:52:13 +00:00
Joel Sherrill
eebcc5be64 2009-09-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* cpu_supplement/arm.t: Update.
	* cpu_supplement/preface.texi: Typo.
	* cpu_supplement/general.t: Expanded abbreviation.
2009-09-14 14:50:39 +00:00
Joel Sherrill
7c411bda5b 2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/wkspace.c: Removed work space area consistency checks.
	* libblock/include/rtems/ide_part_table.h: Functions are now
	deprecated.
	* libcsupport/include/rtems/libcsupport.h, libcsupport/src/calloc.c,
	libcsupport/src/malloc_boundary.c,
	libcsupport/src/malloc_initialize.c,
	libcsupport/src/malloc_report_statistics_plugin.c,
	libcsupport/src/malloc_statistics_helpers.c,
	libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
	rtems/inline/rtems/rtems/region.inl: Update for heap API changes.

2009-09-14      Christian Mauderer <christian.mauderer@embedded-brains.de>

	* libcsupport/src/vprintk.c: Fixed warnings. Print nothing in case the
	pointer to the string is NULL.
2009-09-14 14:48:38 +00:00
Joel Sherrill
1e2d751036 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxclock/init.c, psxclock/psxclock.scn, psxenosys/init.c,
	psxenosys/psxenosys.scn, psxsignal03/Makefile.am, psxsignal03/init.c,
	psxsignal04/Makefile.am: Move test cases which needed to be executed
	when POSIX is disabled to psxclock so they will be.
2009-09-14 00:15:55 +00:00
Joel Sherrill
e7de563acf 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/nanosleep.c: Disable EINTR case when POSIX is disabled
	because it cannot happen.
2009-09-14 00:14:22 +00:00
Joel Sherrill
32aaaff486 2009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/coremsg.inl: Fix compilation issue when
	notifications are not enabled.
2009-09-13 22:11:41 +00:00
Joel Sherrill
41163687e4 Typo. 2009-09-13 22:10:46 +00:00
Joel Sherrill
46605724c1 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Some POSIX tests exercise functionality which is
	enabled when the POSIX threading is disabled. So build this suite all
	the time and let the psxtests select the specific tests to build.
2009-09-13 21:09:47 +00:00
Joel Sherrill
bacf79e0b9 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/thread.h, score/src/threadinitialize.c,
	score/src/threadstackfree.c: Disable capability for API to let user
	provide thread stack when no API configured includes this capability.
2009-09-13 21:00:11 +00:00
Joel Sherrill
8907a01c00 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/coresem.h, score/src/coresemseize.c:
	Disable body of _CORE_semaphore_Seize() if it is not used because all
	APIs using it are disabled.
2009-09-13 20:54:01 +00:00
Joel Sherrill
0fa8b4d1b0 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/tod.h: Fix typo.
2009-09-13 20:50:56 +00:00
Joel Sherrill
e552d0577f 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/config.h: Add
	rtems_configuration_get_maximum_semaphores().
2009-09-13 20:44:37 +00:00
Joel Sherrill
33046a5d9e 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/src/clockgetres.c: Add clockgetres.c to set
	of clock and delayt methods built when POSIX threads are disabled.
	Ensure it builds when POSIX is disabled.
2009-09-13 20:42:10 +00:00
Joel Sherrill
cd4884a82d 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/Makefile.am, sp43/init.c, sp43/sp43.scn, sp43/system.h: Add test
	for Id which is in range for the object class but not allocated yet.
2009-09-13 20:37:54 +00:00
Joel Sherrill
88271c3308 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psx01/init.c, psx01/psx01.scn: Add new
	test to exercise clock and delay services enabled when POSIX threads
	are disabled. This is split from psx01. POSIX test suite now enabled
	when POSIX threads are disabled so only enable tests which are
	appropriate.
	* psxclock/.cvsignore, psxclock/Makefile.am, psxclock/init.c,
	psxclock/psxclock.doc, psxclock/psxclock.scn: New files.
2009-09-13 20:36:36 +00:00
Joel Sherrill
039cb994a9 2009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgbroadcast.c: Fix typo.
2009-09-13 20:12:09 +00:00
Joel Sherrill
50d1e15412 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/coremsgsubmit.c: Remove extra #else.
2009-09-13 16:37:11 +00:00
Joel Sherrill
939ba8162f 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsginsert.c,
	score/src/coremsgseize.c, score/src/coremsgsubmit.c: Add wrappers for
	accessing message priority. Since these are empty when priority-based
	message queues are disabled, this eliminates some of the
	conditionals.
2009-09-13 16:05:14 +00:00
Ralf Corsepius
302e4367bb Don't cvsignore rtems*.spec. 2009-09-13 03:51:21 +00:00
Ralf Corsepius
3c078c7ae6 Regenerate. 2009-09-13 03:43:04 +00:00
Ralf Corsepius
468036455a newlib-1.17.0-rtems4.10-20090911.diff. 2009-09-13 03:41:21 +00:00
Ralf Corsepius
d6c9c1d023 Bump GCC_RPMREL for mass rebuild against binutils-2.19.90. 2009-09-13 03:37:08 +00:00
Ralf Corsepius
c91a0c7596 Regenerate. 2009-09-13 03:34:26 +00:00
Ralf Corsepius
a0b9cc0c22 Upgrade to binutils 2.19.90. 2009-09-13 03:33:44 +00:00
Joel Sherrill
88bbb93e24 2009-09-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/coremsgseize.c: Fix typo.
2009-09-12 14:31:51 +00:00
Till Straumann
6b7ef8a30d 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* network/gdb-6.8-psim-hw_ethtap.diff: Added gdb patch
	which implements the NIC hardware emulation.
2009-09-11 22:56:39 +00:00
Till Straumann
a1e516f234 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, bsp.h, network/if_sim.c, network/README:
	added driver for NIC emulation.
2009-09-11 22:53:25 +00:00
Till Straumann
5a6d25fcd5 2009-09-11 Till Straumann <Till.Straumann@TU-Berlin.de>
* psim-top.in, psim-bottom: Added support for options
	-d (print device tree and exit), -h (usage info) and
	-n (enable NIC support).

	* psim-gdb-bottom: Added support for options -s (force sysv IPC),
	-h (usage info) and -n (enable NIC support).
	Allow user to override GDB variable from environment.

	* psim-shared: cat NIC properties into device file if the
	user had specified '-n'.

	* runtest-top.in: removed unsupported options -o, -d from
	usage info.
2009-09-11 22:42:00 +00:00
Joel Sherrill
507d38261d 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/coremsg.h,
	score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsginsert.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c, score/src/objectnametoidstring.c: Disable
	the Core Message Queue features of notification, priority messages,
	and blocking sends when no API requires them.
2009-09-11 20:00:30 +00:00
Till Straumann
b09423368b 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, irq/no_pic.c (REMOVED),
	irq/irq.h, irq/irq_init.c:
	use openpic from 'shared' area instead of no_pic.
	* inlude/psim.h:
	use openpic from 'shared' area instead of no_pic.
	Added 'extern' declaration for (linker-script defined) RamBase
	and RamSize symbols. Let CPP macros expand to these symbols
	instead of static constants.
	Added register definitions for OpenPIC in the register area.
	Added register definitions for ethernet controller in the register
	area.
	* startup/linkcmds: Increased RamSize to 16M. Increased 'RAM'
	memory region to 32M (there is really no disadvantage in making
	this large). Added comment explaining the inter-relation between
	RamSize, the size of the memory region, the device-tree property
	"oea-memory-size" and the DBAT setting.
	* tools/psim-shared: Try to determine RamSize from executable
	and set 'oea-memory-size' accordingly. May be overridden if 'RAM_SIZE'
	envvar is set.
	Added openpic to device-tree.
	Added ethernet controller to device-tree (commented because a PSIM
	patch is currently required to use this device).
	* startup/bspstart: Increase DBAT0 mapping to size of 32M.
2009-09-11 17:13:42 +00:00