diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-02 16:50:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-02 16:50:30 +0000 |
commit | e24a5a031f56b5b4baf551f2ab155cffcac935d2 (patch) | |
tree | d07dad05fc8f759822cb1b64a1890ffe40289778 /testsuites | |
parent | 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e24a5a031f56b5b4baf551f2ab155cffcac935d2.tar.bz2 |
2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp54/init.c: Use rtems_build_id to make building Objects_Id
RTEMS_USE_16_BIT_OBJECT clean.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/sptests/sp54/init.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index a981fb088a..fc73fd983f 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,8 @@ +2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org> + + * sp54/init.c: Use rtems_build_id to make building Objects_Id + RTEMS_USE_16_BIT_OBJECT clean. + 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com> * Makefile.am, configure.ac: Add new test to exercise when notepads are diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c index 419308e424..6cc5e4e9e6 100644 --- a/testsuites/sptests/sp54/init.c +++ b/testsuites/sptests/sp54/init.c @@ -28,7 +28,7 @@ rtems_task Init( puts( "\n\n*** TEST 54 ***" ); puts( "Init - use valid id of API class with no objects" ); - status = rtems_task_set_priority( 0xa010001, RTEMS_CURRENT_PRIORITY, &pri ); + status = rtems_task_set_priority( rtems_build_id(0x2,0x1,0x01,0x0001) /* 0xa010001 */, RTEMS_CURRENT_PRIORITY, &pri ); fatal_directive_status( status, RTEMS_INVALID_ID, @@ -36,7 +36,7 @@ rtems_task Init( ); puts( "Init - lookup name within API class with no objects" ); - status = rtems_task_ident( 0x123456, RTEMS_SEARCH_ALL_NODES, &id ); + status = rtems_task_ident( rtems_build_id( 0, 0, 0x12, 0x3456) /* 0x123456 */, RTEMS_SEARCH_ALL_NODES, &id ); fatal_directive_status( status, RTEMS_INVALID_NAME, |