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.
This commit is contained in:
Ralf Corsepius
2009-10-02 16:50:30 +00:00
parent 7093646b95
commit e24a5a031f
2 changed files with 7 additions and 2 deletions

View File

@@ -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> 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise when notepads are * Makefile.am, configure.ac: Add new test to exercise when notepads are

View File

@@ -28,7 +28,7 @@ rtems_task Init(
puts( "\n\n*** TEST 54 ***" ); puts( "\n\n*** TEST 54 ***" );
puts( "Init - use valid id of API class with no objects" ); 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( fatal_directive_status(
status, status,
RTEMS_INVALID_ID, RTEMS_INVALID_ID,
@@ -36,7 +36,7 @@ rtems_task Init(
); );
puts( "Init - lookup name within API class with no objects" ); 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( fatal_directive_status(
status, status,
RTEMS_INVALID_NAME, RTEMS_INVALID_NAME,