forked from Imagelibrary/rtems
2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
)
|
||||
@{
|
||||
|
||||
Reference in New Issue
Block a user