forked from Imagelibrary/rtems
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* mp02/task1.c, mp03/system.h, mp03/task1.c, mp04/task1.c, mp05/system.h, mp06/task1.c, mp07/task1.c, mp08/task1.c, mp09/recvmsg.c, mp09/sendmsg.c, mp09/task1.c, mp10/task1.c, mp11/init.c, mp12/init.c, mp13/task1.c, mp14/evtask1.c, mp14/evtmtask.c, mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c, mp14/system.h: Convert to using c99 fixed size types.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* mp02/task1.c, mp03/system.h, mp03/task1.c, mp04/task1.c,
|
||||
mp05/system.h, mp06/task1.c, mp07/task1.c, mp08/task1.c,
|
||||
mp09/recvmsg.c, mp09/sendmsg.c, mp09/task1.c, mp10/task1.c,
|
||||
mp11/init.c, mp12/init.c, mp13/task1.c, mp14/evtask1.c,
|
||||
mp14/evtmtask.c, mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c,
|
||||
mp14/smtask1.c, mp14/system.h: Convert to using c99 fixed size
|
||||
types.
|
||||
|
||||
2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add 2nd arg to RTEMS_TOP.
|
||||
|
||||
@@ -29,10 +29,10 @@ rtems_task Test_task(
|
||||
{
|
||||
rtems_id tid;
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 remote_node;
|
||||
uint32_t remote_node;
|
||||
rtems_id remote_tid;
|
||||
rtems_id test_tid;
|
||||
rtems_unsigned32 note;
|
||||
uint32_t note;
|
||||
|
||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
||||
TEST_EXTERN rtems_id Timer_id[ 2 ]; /* array of timer ids */
|
||||
TEST_EXTERN rtems_name Timer_name[ 2 ]; /* array of timer names */
|
||||
|
||||
TEST_EXTERN rtems_unsigned32 remote_node;
|
||||
TEST_EXTERN uint32_t remote_node;
|
||||
TEST_EXTERN rtems_id remote_tid;
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
void Test_Task_Support(
|
||||
rtems_unsigned32 node
|
||||
uint32_t node
|
||||
)
|
||||
{
|
||||
rtems_event_set events;
|
||||
|
||||
@@ -27,7 +27,7 @@ rtems_task Test_task(
|
||||
{
|
||||
rtems_id tid;
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 remote_node;
|
||||
uint32_t remote_node;
|
||||
rtems_id remote_tid;
|
||||
rtems_task_priority previous_priority;
|
||||
rtems_task_priority previous_priority_1;
|
||||
|
||||
@@ -53,11 +53,11 @@ TEST_EXTERN rtems_name Timer_name[ 2 ]; /* array of timer names */
|
||||
|
||||
TEST_EXTERN volatile rtems_boolean Stop_Test;
|
||||
|
||||
TEST_EXTERN rtems_unsigned32 remote_node;
|
||||
TEST_EXTERN uint32_t remote_node;
|
||||
TEST_EXTERN rtems_id remote_tid;
|
||||
TEST_EXTERN rtems_signal_set remote_signal;
|
||||
TEST_EXTERN rtems_signal_set expected_signal;
|
||||
TEST_EXTERN volatile rtems_unsigned32 signal_count;
|
||||
TEST_EXTERN volatile rtems_unsigned32 signal_caught;
|
||||
TEST_EXTERN volatile uint32_t signal_count;
|
||||
TEST_EXTERN volatile uint32_t signal_caught;
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -86,8 +86,8 @@ rtems_task Test_task(
|
||||
)
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 count;
|
||||
rtems_unsigned32 remote_node;
|
||||
uint32_t count;
|
||||
uint32_t remote_node;
|
||||
rtems_id remote_tid;
|
||||
rtems_event_set event_out;
|
||||
rtems_event_set event_for_this_iteration;
|
||||
|
||||
@@ -36,8 +36,8 @@ rtems_task Test_task(
|
||||
)
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 count;
|
||||
rtems_unsigned32 remote_node;
|
||||
uint32_t count;
|
||||
uint32_t remote_node;
|
||||
rtems_id remote_tid;
|
||||
rtems_event_set event_out;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ rtems_task Test_task(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
{
|
||||
rtems_unsigned32 count;
|
||||
uint32_t count;
|
||||
rtems_status_code status;
|
||||
|
||||
puts( "Getting SMID of semaphore" );
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
void Receive_messages()
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 index;
|
||||
rtems_unsigned32 size;
|
||||
uint32_t index;
|
||||
uint32_t size;
|
||||
char receive_buffer[16];
|
||||
|
||||
for ( index=1 ; index <=3 ; index++ ) {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
void Send_messages()
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 broadcast_count;
|
||||
uint32_t broadcast_count;
|
||||
|
||||
puts_nocr( "rtems_message_queue_send: " );
|
||||
puts( buffer1 );
|
||||
|
||||
@@ -30,8 +30,8 @@ rtems_task Test_task(
|
||||
)
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 count;
|
||||
rtems_unsigned32 size;
|
||||
uint32_t count;
|
||||
uint32_t size;
|
||||
char receive_buffer[16];
|
||||
|
||||
status = rtems_task_wake_after( TICKS_PER_SECOND );
|
||||
|
||||
@@ -25,7 +25,7 @@ rtems_task Test_task1(
|
||||
)
|
||||
{
|
||||
char receive_buffer[16];
|
||||
rtems_unsigned32 size;
|
||||
uint32_t size;
|
||||
rtems_status_code status;
|
||||
|
||||
puts( "Getting QID of message queue" );
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define TEST_INIT
|
||||
#include "system.h"
|
||||
|
||||
rtems_unsigned8 my_partition[0x30000] CPU_STRUCTURE_ALIGNMENT;
|
||||
uint8_t my_partition[0x30000] CPU_STRUCTURE_ALIGNMENT;
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
@@ -90,7 +90,7 @@ rtems_task Init(
|
||||
puts( "Attempting to create Partition (Global)" );
|
||||
status = rtems_partition_create(
|
||||
1,
|
||||
(rtems_unsigned8 *) my_partition,
|
||||
(uint8_t *) my_partition,
|
||||
128,
|
||||
64,
|
||||
RTEMS_GLOBAL,
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define TEST_INIT
|
||||
#include "system.h"
|
||||
|
||||
rtems_unsigned8 Partition_area[ 1024 ] CPU_STRUCTURE_ALIGNMENT;
|
||||
uint8_t Partition_area[ 1024 ] CPU_STRUCTURE_ALIGNMENT;
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
|
||||
@@ -26,7 +26,7 @@ rtems_task Test_task1(
|
||||
)
|
||||
{
|
||||
char receive_buffer[16];
|
||||
rtems_unsigned32 size;
|
||||
uint32_t size;
|
||||
rtems_status_code status;
|
||||
|
||||
puts( "Getting QID of message queue" );
|
||||
|
||||
@@ -28,8 +28,8 @@ rtems_task Test_task(
|
||||
)
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 count;
|
||||
rtems_unsigned32 remote_node;
|
||||
uint32_t count;
|
||||
uint32_t remote_node;
|
||||
rtems_id remote_tid;
|
||||
rtems_event_set event_out;
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ rtems_task Delayed_events_task(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
{
|
||||
rtems_unsigned32 count;
|
||||
rtems_unsigned32 previous_mode;
|
||||
uint32_t count;
|
||||
uint32_t previous_mode;
|
||||
rtems_status_code status;
|
||||
rtems_event_set events;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#define TEST_INIT
|
||||
#include "system.h"
|
||||
|
||||
rtems_unsigned8 my_partition[0x30000] CPU_STRUCTURE_ALIGNMENT;
|
||||
uint8_t my_partition[0x30000] CPU_STRUCTURE_ALIGNMENT;
|
||||
|
||||
rtems_timer_service_routine Stop_Test_TSR(
|
||||
rtems_id ignored_id,
|
||||
|
||||
@@ -27,11 +27,11 @@ rtems_task Message_queue_task(
|
||||
)
|
||||
{
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 count;
|
||||
rtems_unsigned32 yield_count;
|
||||
rtems_unsigned32 *buffer_count;
|
||||
rtems_unsigned32 *overflow_count;
|
||||
rtems_unsigned32 size;
|
||||
uint32_t count;
|
||||
uint32_t yield_count;
|
||||
uint32_t *buffer_count;
|
||||
uint32_t *overflow_count;
|
||||
uint32_t size;
|
||||
|
||||
Msg_buffer[ index ][0] = 0;
|
||||
Msg_buffer[ index ][1] = 0;
|
||||
@@ -78,7 +78,7 @@ rtems_task Message_queue_task(
|
||||
);
|
||||
directive_failed( status, "rtems_message_queue_receive" );
|
||||
|
||||
if ( *buffer_count == (rtems_unsigned32)0xffffffff ) {
|
||||
if ( *buffer_count == (uint32_t )0xffffffff ) {
|
||||
*buffer_count = 0;
|
||||
*overflow_count += 1;
|
||||
} else
|
||||
|
||||
@@ -26,9 +26,9 @@ rtems_task Partition_task(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
{
|
||||
rtems_unsigned32 count;
|
||||
uint32_t count;
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 yield_count;
|
||||
uint32_t yield_count;
|
||||
void *buffer;
|
||||
|
||||
puts( "Getting ID of partition" );
|
||||
|
||||
@@ -25,9 +25,9 @@ rtems_task Semaphore_task(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
{
|
||||
rtems_unsigned32 count;
|
||||
uint32_t count;
|
||||
rtems_status_code status;
|
||||
rtems_unsigned32 yield_count;
|
||||
uint32_t yield_count;
|
||||
|
||||
puts( "Getting SMID of semaphore" );
|
||||
while ( FOREVER ) {
|
||||
|
||||
@@ -102,7 +102,7 @@ TEST_EXTERN rtems_name Task_name[ 4 ]; /* remote event task names */
|
||||
TEST_EXTERN rtems_id Timer_id[ 4 ]; /* event timer ids */
|
||||
TEST_EXTERN rtems_name Timer_name[ 4 ]; /* event timer names */
|
||||
|
||||
TEST_EXTERN rtems_unsigned32 Msg_buffer[ 4 ][ 4 ];
|
||||
TEST_EXTERN uint32_t Msg_buffer[ 4 ][ 4 ];
|
||||
|
||||
extern rtems_multiprocessing_table Multiprocessing_configuration;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user