summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp25
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-25 22:13:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-25 22:13:36 +0000
commit1ea0f9d26aaf78e8817dbd214fd288f6961054b2 (patch)
tree0b742bdc5e76f2c1da962188a7f3bcea9e8c40a6 /testsuites/sptests/sp25
parentRegenerate. (diff)
downloadrtems-1ea0f9d26aaf78e8817dbd214fd288f6961054b2.tar.bz2
2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp25/system.h: Add warning and temporary m32c conditional until size type addressed.
Diffstat (limited to 'testsuites/sptests/sp25')
-rw-r--r--testsuites/sptests/sp25/system.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuites/sptests/sp25/system.h b/testsuites/sptests/sp25/system.h
index 453168c3c7..9e24e7c49d 100644
--- a/testsuites/sptests/sp25/system.h
+++ b/testsuites/sptests/sp25/system.h
@@ -44,7 +44,13 @@ TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */
TEST_EXTERN rtems_id Region_id[ 2 ]; /* array of region ids */
TEST_EXTERN rtems_name Region_name[ 2 ]; /* array of region names */
-TEST_EXTERN uint8_t Area_1[1024] CPU_STRUCTURE_ALIGNMENT;
+/* test will fail... segment sizes need to be reworked for <=32K buffer */
+#if defined(__m32c__)
+#warning "Address size type of regions"
+TEST_EXTERN uint8_t Area_1[32000] CPU_STRUCTURE_ALIGNMENT;
+#else
+TEST_EXTERN uint8_t Area_1[64000] CPU_STRUCTURE_ALIGNMENT;
+#endif
#define BASE_PRIORITY 140