diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-21 16:17:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-21 16:17:35 +0000 |
commit | cec5c069b08ce39fe17af5d0a0df278469f46c57 (patch) | |
tree | 2bf7a9b09cf83f4b11513c13298e66f7b2d0aede /cpukit/libblock/include/rtems/bdbuf.h | |
parent | 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-cec5c069b08ce39fe17af5d0a0df278469f46c57.tar.bz2 |
2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c,
libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
Diffstat (limited to 'cpukit/libblock/include/rtems/bdbuf.h')
-rw-r--r-- | cpukit/libblock/include/rtems/bdbuf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h index c5a2748aec..48915e9c16 100644 --- a/cpukit/libblock/include/rtems/bdbuf.h +++ b/cpukit/libblock/include/rtems/bdbuf.h @@ -86,8 +86,8 @@ typedef struct rtems_bdbuf_buffer */ typedef struct rtems_bdbuf_pool { - int blksize; /*< The size of the blocks (in bytes) */ - int nblks; /*< Number of blocks in this pool */ + uint32_t blksize; /*< The size of the blocks (in bytes) */ + uint32_t nblks; /*< Number of blocks in this pool */ uint32_t flags; /*< Configuration flags */ @@ -144,8 +144,8 @@ extern int rtems_bdbuf_pool_configuration_size; * structure. */ typedef struct rtems_bdbuf_config { - int max_read_ahead_blocks; /*< Number of blocks to read ahead. */ - int max_write_blocks; /*< Number of blocks to write at once. */ + uint32_t max_read_ahead_blocks; /*< Number of blocks to read ahead. */ + uint32_t max_write_blocks; /*< Number of blocks to write at once. */ rtems_task_priority swapout_priority; /*< Priority of the swap out task. */ uint32_t swapout_period; /*< Period swapout checks buf timers. */ uint32_t swap_block_hold; /*< Period a buffer is held. */ @@ -317,7 +317,7 @@ rtems_bdbuf_syncdev (dev_t dev); * is not configured. */ rtems_status_code -rtems_bdbuf_find_pool (int block_size, rtems_bdpool_id *pool); +rtems_bdbuf_find_pool (uint32_t block_size, rtems_bdpool_id *pool); /** * Obtain characteristics of buffer pool with specified number. |