From 2a517327a657007f3dbada9998db483792df8ef9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Aug 2008 14:50:16 +0000 Subject: 2008-08-21 Joel Sherrill * bsp_howto/ata.t, bsp_howto/clock.t, bsp_howto/ide-ctrl.t, bsp_howto/nvmem.t, bsp_howto/shmsupp.t, user/datatypes.t, user/mp.t, user/userext.t: Eliminate all references to rtems_signedXX and rtems_unsignedXX. --- doc/ChangeLog | 7 +++++++ doc/bsp_howto/ata.t | 6 +++--- doc/bsp_howto/clock.t | 2 +- doc/bsp_howto/ide-ctrl.t | 24 ++++++++++++++---------- doc/bsp_howto/nvmem.t | 16 ++++++++-------- doc/bsp_howto/shmsupp.t | 6 +++--- doc/user/datatypes.t | 34 +++++++++++++++------------------- doc/user/mp.t | 4 ++-- doc/user/userext.t | 2 +- 9 files changed, 54 insertions(+), 47 deletions(-) (limited to 'doc') diff --git a/doc/ChangeLog b/doc/ChangeLog index 0e3ddd24fa..f340ba8418 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,10 @@ +2008-08-21 Joel Sherrill + + * bsp_howto/ata.t, bsp_howto/clock.t, bsp_howto/ide-ctrl.t, + bsp_howto/nvmem.t, bsp_howto/shmsupp.t, user/datatypes.t, user/mp.t, + user/userext.t: Eliminate all references to rtems_signedXX and + rtems_unsignedXX. + 2008-08-08 Sebastian Huber * user/msg.t, user/sem.t, user/task.t: Update to new parameter types. diff --git a/doc/bsp_howto/ata.t b/doc/bsp_howto/ata.t index 851a41ee3b..c1c17fda3f 100644 --- a/doc/bsp_howto/ata.t +++ b/doc/bsp_howto/ata.t @@ -101,9 +101,9 @@ typedef struct ata_req_s @{ Chain_Node link; /* link in requests chain */ char type; /* request type */ ata_registers_t regs; /* ATA command */ - rtems_unsigned32 cnt; /* Number of sectors to be exchanged */ - rtems_unsigned32 cbuf; /* number of current buffer from breq in use */ - rtems_unsigned32 pos; /* current position in 'cbuf' */ + uint32_t cnt; /* Number of sectors to be exchanged */ + uint32_t cbuf; /* number of current buffer from breq in use */ + uint32_t pos; /* current position in 'cbuf' */ blkdev_request *breq; /* blkdev_request which corresponds to the * ata request */ diff --git a/doc/bsp_howto/clock.t b/doc/bsp_howto/clock.t index 24a6812d4c..69b16e154b 100644 --- a/doc/bsp_howto/clock.t +++ b/doc/bsp_howto/clock.t @@ -47,7 +47,7 @@ routines that have occured. This information is valuable when debugging a system. This variable is declared as follows: @example -volatile rtems_unsigned32 Clock_driver_ticks; +volatile uint32_t Clock_driver_ticks; @end example @section Initialization diff --git a/doc/bsp_howto/ide-ctrl.t b/doc/bsp_howto/ide-ctrl.t index f5ece8507d..4a7697004e 100644 --- a/doc/bsp_howto/ide-ctrl.t +++ b/doc/bsp_howto/ide-ctrl.t @@ -113,11 +113,13 @@ overhead. This routine is not allowed to be called from an application. @example @group -void ide_controller_read_data_block(rtems_device_minor_number minor, - unsigned16 block_size, - blkdev_sg_buffer *bufs, - rtems_unsigned32 *cbuf, - rtems_unsigned32 *pos) +void ide_controller_read_data_block( + rtems_device_minor_number minor, + unsigned16 block_size, + blkdev_sg_buffer *bufs, + uint32_t *cbuf, + uint32_t *pos +) @{ get IDE Controller chip configuration information from IDE_Controller_Table by minor number @@ -138,11 +140,13 @@ overhead. This routine is not allowed to be called from an application. @example @group -void ide_controller_write_data_block(rtems_device_minor_number minor, - unsigned16 block_size, - blkdev_sg_buffer *bufs, - rtems_unsigned32 *cbuf, - rtems_unsigned32 *pos) +void ide_controller_write_data_block( + rtems_device_minor_number minor, + unsigned16 block_size, + blkdev_sg_buffer *bufs, + uint32_t *cbuf, + uint32_t *pos +) @{ get IDE Controller chip configuration information from IDE_Controller_Table by minor number diff --git a/doc/bsp_howto/nvmem.t b/doc/bsp_howto/nvmem.t index 2c1063b8c3..aca391409b 100644 --- a/doc/bsp_howto/nvmem.t +++ b/doc/bsp_howto/nvmem.t @@ -184,10 +184,10 @@ structure type: @example @group typedef struct @{ - rtems_unsigned32 offset; - void *buffer; - rtems_unsigned32 length; - rtems_unsigned32 status; + uint32_t offset; + void *buffer; + uint32_t length; + uint32_t status; @} Non_volatile_memory_Driver_arguments; @end group @end example @@ -211,10 +211,10 @@ the following structure type: @example @group typedef struct @{ - rtems_unsigned32 offset; - void *buffer; - rtems_unsigned32 length; - rtems_unsigned32 status; + uint32_t offset; + void *buffer; + uint32_t length; + uint32_t status; @} Non_volatile_memory_Driver_arguments; @end group @end example diff --git a/doc/bsp_howto/shmsupp.t b/doc/bsp_howto/shmsupp.t index 3c087ca6cd..885db4d5e6 100644 --- a/doc/bsp_howto/shmsupp.t +++ b/doc/bsp_howto/shmsupp.t @@ -27,7 +27,7 @@ structure: @example @group -typedef volatile rtems_unsigned32 vol_u32; +typedef volatile uint32_t vol_u32; typedef struct @{ vol_u32 *address; /* write here for interrupt */ @@ -41,7 +41,7 @@ struct shm_config_info @{ vol_u32 format; /* SHM is big or little endian */ vol_u32 (*convert)(); /* neutral conversion routine */ vol_u32 poll_intr; /* POLLED or INTR driven mode */ - void (*cause_intr)( rtems_unsigned32 ); + void (*cause_intr)( uint32_t ); Shm_Interrupt_information Intr; /* cause intr information */ @}; @@ -123,7 +123,7 @@ Shared Memory Configuration Table passed to it. @example @group void Shm_Get_configuration( - rtems_unsigned32 localnode, + uint32_t localnode, shm_config_table **shmcfg ) @{ diff --git a/doc/user/datatypes.t b/doc/user/datatypes.t index 6f3e6e7ac7..e65695b483 100644 --- a/doc/user/datatypes.t +++ b/doc/user/datatypes.t @@ -194,29 +194,25 @@ that is expected to be used by the MPCI layer. type used to manage and manipulate RTEMS signal sets with the Signal Manager. -@findex rtems_signed8 -@item @code{@value{DIRPREFIX}signed8} is the data -type that corresponds to signed eight bit integers. -This data type is defined by RTEMS in a manner that +@findex int8_t +@item @code{int8_t} is the C99 data type that corresponds to signed eight +bit integers. This data type is defined by RTEMS in a manner that ensures it is portable across different target processors. -@findex rtems_signed16 -@item @code{@value{DIRPREFIX}signed16} is the data -type that corresponds to signed sixteen bit integers. -This data type is defined by RTEMS in a manner that -ensures it is portable across different target processors. +@findex int16_t +@item @code{int16_t} is the C99 data type that corresponds to signed +sixteen bit integers. This data type is defined by RTEMS in a manner +that ensures it is portable across different target processors. -@findex rtems_signed32 -@item @code{@value{DIRPREFIX}signed32} is the data -type that corresponds to signed thirty-two bit integers. -This data type is defined by RTEMS in a manner that -ensures it is portable across different target processors. +@findex int32_t +@item @code{int32_t} is the C99 data type that corresponds to signed +thirty-two bit integers. This data type is defined by RTEMS in a manner +that ensures it is portable across different target processors. -@findex rtems_signed64 -@item @code{@value{DIRPREFIX}signed64} is the data -type that corresponds to signed sixty-four bit integers. -This data type is defined by RTEMS in a manner that -ensures it is portable across different target processors. +@findex int64_t +@item @code{int64_t} is the C99 data type that corresponds to signed +sixty-four bit integers. This data type is defined by RTEMS in a manner +that ensures it is portable across different target processors. @findex rtems_single @item @code{@value{DIRPREFIX}single} is the RTEMS data diff --git a/doc/user/mp.t b/doc/user/mp.t index b1f16cbabf..693509af6d 100644 --- a/doc/user/mp.t +++ b/doc/user/mp.t @@ -410,7 +410,7 @@ following prototype: @example @group rtems_mpci_entry user_mpci_send_packet( - rtems_unsigned32 node, + uint32_t node, rtems_packet_prefix **packet ); @end group @@ -433,7 +433,7 @@ of the packet to avoid sending unnecessary data. This is especially useful if the media connecting the nodes is relatively slow. The to_convert field of the MP_packet_prefix portion of the packet indicates -how much of the packet (in @code{rtems_unsigned32}'s) may require +how much of the packet (in @code{uint32_t}'s) may require conversion in a heterogeneous system. @subsection Supporting Heterogeneous Environments diff --git a/doc/user/userext.t b/doc/user/userext.t index 2bb4c81006..2a6fad440a 100644 --- a/doc/user/userext.t +++ b/doc/user/userext.t @@ -466,7 +466,7 @@ This extension should have a prototype similar to the following: rtems_extension user_fatal_error( Internal_errors_Source the_source, rtems_boolean is_internal, - rtems_unsigned32 the_error + uint32_t the_error ); @end example @end ifset -- cgit v1.2.3