forked from Imagelibrary/rtems
2010-06-17 Chris Johns <chrisj@rtems.org>
libfs/src/rfs/rtems-rfs-bitmaps.h,
libfs/src/rfs/rtems-rfs-block-pos.h,
libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2010-06-17 Chris Johns <chrisj@rtems.org>
|
||||
|
||||
* libfs/src/rfs/rtems-rfs-bitmaps.h,
|
||||
libfs/src/rfs/rtems-rfs-block-pos.h,
|
||||
libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
|
||||
|
||||
2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libfs/src/rfs/rtems-rfs-file-system.h: Revert previous change.
|
||||
|
||||
@@ -99,7 +99,7 @@ typedef rtems_rfs_bitmap_element* rtems_rfs_bitmap_map;
|
||||
/**
|
||||
* The bitmap control is a simple way to manage the various parts of a bitmap.
|
||||
*/
|
||||
typedef struct _rtems_rfs_bitmap_control
|
||||
typedef struct rtems_rfs_bitmap_control_s
|
||||
{
|
||||
rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit
|
||||
//map.
|
||||
|
||||
@@ -47,7 +47,7 @@ typedef uint32_t rtems_rfs_block_off;
|
||||
* block field can be used hold a block number for the position as a look up
|
||||
* cache.
|
||||
*/
|
||||
typedef struct _rtems_rfs_block_pos
|
||||
typedef struct rtems_rfs_block_pos_s
|
||||
{
|
||||
/**
|
||||
* The block index in the map. Range is from 0 to the maps block count minus
|
||||
@@ -110,8 +110,8 @@ void rtems_rfs_block_get_bpos (rtems_rfs_file_system* fs,
|
||||
* @param bpos Pointer to the block position to fill in.
|
||||
* @return rtems_rfs_pos The absolute offset.
|
||||
*/
|
||||
rtems_rfs_pos rtems_rfs_block_get_pos (rtems_rfs_file_system* fs,
|
||||
rtems_rfs_block_pos* bpos);
|
||||
rtems_rfs_pos rtems_rfs_block_get_pos (rtems_rfs_file_system* fs,
|
||||
rtems_rfs_block_pos* bpos);
|
||||
|
||||
/**
|
||||
* Add the relative position to the block position. The relative position is
|
||||
@@ -136,7 +136,7 @@ rtems_rfs_block_add_pos (rtems_rfs_file_system* fs,
|
||||
* A block size is the number of blocks less one plus the offset where the
|
||||
* offset must be less than the block size.
|
||||
*/
|
||||
typedef struct _rtems_rfs_block_size
|
||||
typedef struct rtems_rfs_block_size_s
|
||||
{
|
||||
/**
|
||||
* The count of blocks in a map. A 0 means no blocks and a zero length and
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
* @li 2,684,354,560 bytes for a 2048 byte block size, and
|
||||
* @li 21,474,836,480 bytes for a 4096 byte block size.
|
||||
*/
|
||||
typedef struct rtems_rfs_block_map_t
|
||||
typedef struct rtems_rfs_block_map_s
|
||||
{
|
||||
/**
|
||||
* Is the map dirty ?
|
||||
|
||||
Reference in New Issue
Block a user