forked from Imagelibrary/rtems
Added ifdef on C4x to avoid invalid address alignment checks since there
is no such thing on the C4x.
This commit is contained in:
@@ -36,6 +36,9 @@ void Screen9()
|
|||||||
);
|
);
|
||||||
puts( "TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER" );
|
puts( "TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS -- SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_interrupt_catch( NULL, 3, &old_service_routine );
|
status = rtems_interrupt_catch( NULL, 3, &old_service_routine );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
status,
|
status,
|
||||||
@@ -43,7 +46,11 @@ void Screen9()
|
|||||||
"rtems_interrupt_catch with invalid handler"
|
"rtems_interrupt_catch with invalid handler"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_interrupt_catch( Service_routine, 3, NULL );
|
status = rtems_interrupt_catch( Service_routine, 3, NULL );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
status,
|
status,
|
||||||
@@ -51,6 +58,7 @@ void Screen9()
|
|||||||
"rtems_interrupt_catch with invalid old isr pointer"
|
"rtems_interrupt_catch with invalid old isr pointer"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_signal_send( 100, RTEMS_SIGNAL_1 );
|
status = rtems_signal_send( 100, RTEMS_SIGNAL_1 );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
@@ -82,6 +90,9 @@ void Screen9()
|
|||||||
);
|
);
|
||||||
puts( "TA1 - rtems_port_create - RTEMS_INVALID_NAME" );
|
puts( "TA1 - rtems_port_create - RTEMS_INVALID_NAME" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_port_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_port_create(
|
status = rtems_port_create(
|
||||||
Port_name[ 1 ],
|
Port_name[ 1 ],
|
||||||
&((char *)Internal_port_area)[ 1 ],
|
&((char *)Internal_port_area)[ 1 ],
|
||||||
@@ -95,6 +106,7 @@ void Screen9()
|
|||||||
"rtems_port_create with illegal address"
|
"rtems_port_create with illegal address"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_port_create - RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_port_create - RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_port_create(
|
status = rtems_port_create(
|
||||||
Port_name[ 1 ],
|
Port_name[ 1 ],
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ void Screen11()
|
|||||||
#endif
|
#endif
|
||||||
puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
|
puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_partition_create(
|
status = rtems_partition_create(
|
||||||
Partition_name[ 1 ],
|
Partition_name[ 1 ],
|
||||||
Partition_bad_area,
|
Partition_bad_area,
|
||||||
@@ -123,7 +126,11 @@ void Screen11()
|
|||||||
"rtems_partition_create with bad address"
|
"rtems_partition_create with bad address"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_SIZE - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_partition_create(
|
status = rtems_partition_create(
|
||||||
Partition_name[ 1 ],
|
Partition_name[ 1 ],
|
||||||
Partition_good_area,
|
Partition_good_area,
|
||||||
@@ -138,6 +145,7 @@ void Screen11()
|
|||||||
"rtems_partition_create with unaligned buffer_size"
|
"rtems_partition_create with unaligned buffer_size"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_SIZE" );
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_SIZE" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_partition_delete( 100 );
|
status = rtems_partition_delete( 100 );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ void Screen12()
|
|||||||
);
|
);
|
||||||
puts( "TA1 - rtems_region_create - RTEMS_INVALID_NAME" );
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_NAME" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_region_create(
|
status = rtems_region_create(
|
||||||
Region_name[ 1 ],
|
Region_name[ 1 ],
|
||||||
Region_bad_area,
|
Region_bad_area,
|
||||||
@@ -57,7 +60,11 @@ void Screen12()
|
|||||||
"rtems_region_create with illegal address"
|
"rtems_region_create with illegal address"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_region_create(
|
status = rtems_region_create(
|
||||||
Region_name[ 1 ],
|
Region_name[ 1 ],
|
||||||
Region_good_area,
|
Region_good_area,
|
||||||
@@ -72,6 +79,7 @@ void Screen12()
|
|||||||
"rtems_region_create with illegal size"
|
"rtems_region_create with illegal size"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE" );
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_region_create(
|
status = rtems_region_create(
|
||||||
Region_name[ 1 ],
|
Region_name[ 1 ],
|
||||||
|
|||||||
@@ -36,6 +36,9 @@ void Screen9()
|
|||||||
);
|
);
|
||||||
puts( "TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER" );
|
puts( "TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS -- SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_interrupt_catch( NULL, 3, &old_service_routine );
|
status = rtems_interrupt_catch( NULL, 3, &old_service_routine );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
status,
|
status,
|
||||||
@@ -43,7 +46,11 @@ void Screen9()
|
|||||||
"rtems_interrupt_catch with invalid handler"
|
"rtems_interrupt_catch with invalid handler"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_interrupt_catch( Service_routine, 3, NULL );
|
status = rtems_interrupt_catch( Service_routine, 3, NULL );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
status,
|
status,
|
||||||
@@ -51,6 +58,7 @@ void Screen9()
|
|||||||
"rtems_interrupt_catch with invalid old isr pointer"
|
"rtems_interrupt_catch with invalid old isr pointer"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_signal_send( 100, RTEMS_SIGNAL_1 );
|
status = rtems_signal_send( 100, RTEMS_SIGNAL_1 );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
@@ -82,6 +90,9 @@ void Screen9()
|
|||||||
);
|
);
|
||||||
puts( "TA1 - rtems_port_create - RTEMS_INVALID_NAME" );
|
puts( "TA1 - rtems_port_create - RTEMS_INVALID_NAME" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_port_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_port_create(
|
status = rtems_port_create(
|
||||||
Port_name[ 1 ],
|
Port_name[ 1 ],
|
||||||
&((char *)Internal_port_area)[ 1 ],
|
&((char *)Internal_port_area)[ 1 ],
|
||||||
@@ -95,6 +106,7 @@ void Screen9()
|
|||||||
"rtems_port_create with illegal address"
|
"rtems_port_create with illegal address"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_port_create - RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_port_create - RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_port_create(
|
status = rtems_port_create(
|
||||||
Port_name[ 1 ],
|
Port_name[ 1 ],
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ void Screen11()
|
|||||||
#endif
|
#endif
|
||||||
puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
|
puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_partition_create(
|
status = rtems_partition_create(
|
||||||
Partition_name[ 1 ],
|
Partition_name[ 1 ],
|
||||||
Partition_bad_area,
|
Partition_bad_area,
|
||||||
@@ -123,7 +126,11 @@ void Screen11()
|
|||||||
"rtems_partition_create with bad address"
|
"rtems_partition_create with bad address"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_SIZE - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_partition_create(
|
status = rtems_partition_create(
|
||||||
Partition_name[ 1 ],
|
Partition_name[ 1 ],
|
||||||
Partition_good_area,
|
Partition_good_area,
|
||||||
@@ -138,6 +145,7 @@ void Screen11()
|
|||||||
"rtems_partition_create with unaligned buffer_size"
|
"rtems_partition_create with unaligned buffer_size"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_SIZE" );
|
puts( "TA1 - rtems_partition_create - RTEMS_INVALID_SIZE" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_partition_delete( 100 );
|
status = rtems_partition_delete( 100 );
|
||||||
fatal_directive_status(
|
fatal_directive_status(
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ void Screen12()
|
|||||||
);
|
);
|
||||||
puts( "TA1 - rtems_region_create - RTEMS_INVALID_NAME" );
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_NAME" );
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_region_create(
|
status = rtems_region_create(
|
||||||
Region_name[ 1 ],
|
Region_name[ 1 ],
|
||||||
Region_bad_area,
|
Region_bad_area,
|
||||||
@@ -57,7 +60,11 @@ void Screen12()
|
|||||||
"rtems_region_create with illegal address"
|
"rtems_region_create with illegal address"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS" );
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS" );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_C3x) || defined(_C4x)
|
||||||
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE - SKIPPED" );
|
||||||
|
#else
|
||||||
status = rtems_region_create(
|
status = rtems_region_create(
|
||||||
Region_name[ 1 ],
|
Region_name[ 1 ],
|
||||||
Region_good_area,
|
Region_good_area,
|
||||||
@@ -72,6 +79,7 @@ void Screen12()
|
|||||||
"rtems_region_create with illegal size"
|
"rtems_region_create with illegal size"
|
||||||
);
|
);
|
||||||
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE" );
|
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE" );
|
||||||
|
#endif
|
||||||
|
|
||||||
status = rtems_region_create(
|
status = rtems_region_create(
|
||||||
Region_name[ 1 ],
|
Region_name[ 1 ],
|
||||||
|
|||||||
Reference in New Issue
Block a user