* Makefile.am, configure.ac: Add sp48 which tests that configuring for
unlimited objects when configured for a unified workspace works as
expected.
* sp48/.cvsignore, sp48/Makefile.am, sp48/init.c, sp48/sp48.doc,
sp48/sp48.scn: New files.
* Makefile.am, configure.ac: Add new test to test Watchdog display
helper routines. These reach into the SuperCore.
* spwatchdog/.cvsignore, spwatchdog/Makefile.am, spwatchdog/delay.c,
spwatchdog/init.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
spwatchdog/system.h, spwatchdog/task1.c: New files.
* sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
hard-coded hex numbers for bad object Ids.
* sp15/system.h, sp19/system.h: Array of task names should be of type
rtems_name not rtems_id. Similarly array of task ids should be
rtems_id not rtems_name.
* psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue
with create option so we are sure it will get a control block and
proceed to allocate other memory. Clean up screen output.
* Makefile.am, configure.ac, spfatal06/testcase.h,
spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h,
spsize/size.c: Eliminate pointers to API configuration tables in the
main configuration table. Reference the main configuration table and
the API configuration tables directly using the confdefs.h version
rather than obtaining a pointer to it. This eliminated some
variables, a potential fatal error, some unnecessary default
configuration structures. Overall, about a 4.5% reduction in the code
size for minimum and hello on the SPARC.
* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn,
spfatal10/testcase.h: Removed.
* malloctest/init.c: Change sizes of heap/region and allocated objects
in heap to intptr_t so they can be larger than a single allocatable
object (e.g. size_t).
* unlimited/init.c: Run all tests successfully with maxixum number of
priorities as 16 instead of 256. This was done by temporarily
modifying the score priority.h maximum. This allowed testing of all
API code to ensure that it worked properly with a reduced number of
priorities. Most modifications were to switch from hard-coded maximum
to using the API provided methods to determine maximum number of
priority levels.
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c:
Run all tests successfully with maxixum number of priorities as 16
instead of 256. This was done by temporarily modifying the score
priority.h maximum. This allowed testing of all API code to ensure
that it worked properly with a reduced number of priorities. Most
modifications were to switch from hard-coded maximum to using the API
provided methods to determine maximum number of priority levels.
* itrontask04/init.c: Run all tests successfully with maxixum number of
priorities as 16 instead of 256. This was done by temporarily
modifying the score priority.h maximum. This allowed testing of all
API code to ensure that it worked properly with a reduced number of
priorities. Most modifications were to switch from hard-coded maximum
to using the API provided methods to determine maximum number of
priority levels.
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm16/task1.c,
tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c,
tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c,
tm28/task1.c, tm29/task1.c, tmoverhd/testtask.c: Run all tests
successfully with maxixum number of priorities as 16 instead of 256.
This was done by temporarily modifying the score priority.h maximum.
This allowed testing of all API code to ensure that it worked
properly with a reduced number of priorities. Most modifications were
to switch from hard-coded maximum to using the API provided methods
to determine maximum number of priority levels.
* sp07/init.c, sp12/init.c, sp12/pridrv.c, sp12/pritask.c,
sp12/system.h, sp16/system.h, sp25/system.h, sp26/task1.c,
sp28/init.c, sp29/init.c, sp35/priinv.c, sp42/init.c: Run all tests
successfully with maxixum number of priorities as 16 instead of 256.
This was done by temporarily modifying the score priority.h maximum.
This allowed testing of all API code to ensure that it worked
properly with a reduced number of priorities. Most modifications were
to switch from hard-coded maximum to using the API provided methods
to determine maximum number of priority levels.
PR 1348/cpukit
* Makefile.am, configure.ac: Add test of special case of resetting cpu
usage information while a period is running.
* sp46/.cvsignore, sp46/Makefile.am, sp46/init.c, sp46/sp46.doc,
sp46/sp46.scn: New files.
PR 1347/cpukit
* Makefile.am, configure.ac, sp30/resume.c, sp30/task1.c, sp31/delay.c:
Rework Timer Server to ensure that the context allows for blocking,
allocating memory, and acquiring semaphores and mutexes.
* sp45/.cvsignore, sp45/Makefile.am, sp45/sp45.doc, sp45/sp45.scn:
New files.
* sp09/screen07.c: Use INT_MAX as number of messages so always
properly sized and no overflow on constant.
* sp09/screen10.c: Delay so on targets with simulator idle clock
tick driver this will work.
* sp09/screen11.c, sp09/system.h: Move badly aligned objects to odd
byte boundaries rather than two byte boundaries.
* sp09/screen03.c, sp09/screen14.c: Skip tests which try to
allocate more memory than size_t holds on m32c.
* sp09/screen01.c, sp09/screen12.c, sp25/system.h, sp25/task1.c,
sp28/init.c, sp39/init.c, sp41/init.c, spfatal01/testcase.h,
spfatal08/testcase.h: Change size_t to ssize_t on all Heap, Workspace
and Region calls. On 16-bit architectures, size_t can be 16-bits
which would limit sizes to 64K. Also address constants which
overflowed on 16-bit integer targets.
* minimum/init.c, unlimited/system.h: Add support for optionally having
a unified work area. In other words, the RTEMS Workspace and C
Program Heap are the same pool of memory.
* hello/system.h, minimum/Makefile.am, minimum/init.c: Merge GSOC
project code to add simple device only filesystem (devfs), optionally
completely drop out filesystem, and to clean up disabling newlib
reentrancy support. This dropped 17K from the minimum.exe for
sparc/sis and arm/rtl22xx_t now has a 15K code space.