Changeset 33c3b54d in rtems for cpukit/libblock


Ignore:
Timestamp:
11/29/09 11:57:23 (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 5, master
Children:
0893220
Parents:
309dbd0
Message:

Whitespace removal.

Location:
cpukit/libblock/include/rtems
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/include/rtems/bdbuf.h

    r309dbd0 r33c3b54d  
    66 * Block device buffer management.
    77 */
    8  
     8
    99/*
    1010 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
     
    7777 * The buffers are held in various lists in the cache.  All buffers follow this
    7878 * state machine:
    79  *                                 
     79 *
    8080 * @dot
    8181 * digraph state {
     
    8989 *   m [label="MODIFIED",style="filled",fillcolor="gold"];
    9090 *   i [label="INITIAL"];
    91  *   
     91 *
    9292 *   legend_transfer [label="Transfer Wake-Up",fontcolor="red",shape="none"];
    9393 *   legend_access [label="Access Wake-Up",fontcolor="royalblue",shape="none"];
    94  *   
     94 *
    9595 *   i -> e [label="Init"];
    9696 *   e -> f [label="Buffer Recycle"];
     
    112112 * }
    113113 * @enddot
    114  *         
     114 *
    115115 * Empty or cached buffers are added to the LRU list and removed from this
    116116 * queue when a caller requests a buffer.  This is referred to as getting a
     
    120120 * from the disk into memory.  If no buffers are on the LRU list the modified
    121121 * list is checked.  If buffers are on the modified the swap out task will be
    122  * woken.  The request blocks until a buffer is available for recycle. 
     122 * woken.  The request blocks until a buffer is available for recycle.
    123123 *
    124124 * A block being accessed is given to the file system layer and not accessible
     
    405405 * already with a user when this call is made the call is blocked until the
    406406 * buffer is returned. The highest priority waiter will obtain the buffer
    407  * first. 
     407 * first.
    408408 *
    409409 * @param device Device number (constructed of major and minor device number)
  • cpukit/libblock/include/rtems/blkdev.h

    r309dbd0 r33c3b54d  
    66 * Block device management.
    77 */
    8  
     8
    99/*
    1010 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
     
    3131 *
    3232 * Interface between device drivers and the
    33  * @ref rtems_bdbuf "block device buffer module". 
     33 * @ref rtems_bdbuf "block device buffer module".
    3434 *
    3535 * The heart of the block device driver is the @ref RTEMS_BLKIO_REQUEST IO
     
    5050} rtems_blkdev_request_op;
    5151
    52 /** 
     52/**
    5353 * Only consecutive multi-sector buffer requests are supported.
    5454 *
     
    126126   * Last IO operation completion status.
    127127   */
    128   rtems_status_code status; 
     128  rtems_status_code status;
    129129
    130130  /**
  • cpukit/libblock/include/rtems/diskdevs.h

    r309dbd0 r33c3b54d  
    66 * @brief Block device disk management API.
    77 */
    8  
     8
    99/*
    1010 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
     
    3838 * contain a subset of consecutive disk blocks.  The logical disks are used to
    3939 * represent the partitions of a disk.  The disk devices are accessed via the
    40  * @ref rtems_bdbuf "block device buffer module". 
     40 * @ref rtems_bdbuf "block device buffer module".
    4141 *
    4242 * @{
  • cpukit/libblock/include/rtems/flashdisk.h

    r309dbd0 r33c3b54d  
    5151
    5252/**
    53  * Flash Disk Monitoring Data allows a user to obtain 
     53 * Flash Disk Monitoring Data allows a user to obtain
    5454 * the current status of the disk.
    5555 */
     
    121121   * being requested. For example the segment number must resided in
    122122   * the range [base, base + count).
    123    * 
     123   *
    124124   * @param sd The segment descriptor.
    125125   * @param device The device to read data from.
     
    146146   * the segment being requested. For example the segment number must
    147147   * resided in the range [base, base + count).
    148    * 
     148   *
    149149   * @param sd The segment descriptor.
    150150   * @param device The device to write data from.
     
    171171   * being requested. For example the segment number must resided in
    172172   * the range [base, base + count).
    173    * 
     173   *
    174174   * @param sd The segment descriptor.
    175175   * @param device The device to read data from.
     
    194194   * the device segment being requested. For example the segment number
    195195   * must resided in the range [base, base + count).
    196    * 
     196   *
    197197   * @param sd The segment descriptor.
    198198   * @param device The device to verify data in.
     
    217217   * segments. The segment number is the device segment to access and
    218218   * the segment descriptor must reference the segment being requested.
    219    * 
     219   *
    220220   * @param sd The segment descriptor.
    221221   * @param device The device to erase the segment of.
     
    234234   * segments. The segment number is the segment to access and
    235235   * the segment descriptor must reference the segment being requested.
    236    * 
     236   *
    237237   * @param sd The segment descriptor.
    238238   * @param device The device to erase.
     
    284284 * when writing. If you set this to 0 then compaction will fail because
    285285 * there will be no segments to compact into.
    286  * 
     286 *
    287287 * The info level can be 0 for off with error, and abort messages allowed.
    288288 * Level 1 is warning messages, level 1 is informational messages, and level 3
     
    301301  uint32_t                       unavail_blocks; /**< Number of blocks not
    302302                                                      available to the file sys. */
    303   uint32_t                       compact_segs;   /**< Max number of segs to 
     303  uint32_t                       compact_segs;   /**< Max number of segs to
    304304                                                      compact in one pass. */
    305305  uint32_t                       avail_compact_segs; /**< The number of segments
  • cpukit/libblock/include/rtems/nvdisk-sram.h

    r309dbd0 r33c3b54d  
    1010 * NV Disk Static RAM Device Driver.
    1111 *
    12  * This driver maps an NV disk to static RAM. You can use this 
     12 * This driver maps an NV disk to static RAM. You can use this
    1313 */
    1414
  • cpukit/libblock/include/rtems/nvdisk.h

    r309dbd0 r33c3b54d  
    5959
    6060/**
    61  * NV Disk Monitoring Data allows a user to obtain 
     61 * NV Disk Monitoring Data allows a user to obtain
    6262 * the current status of the disk.
    6363 */
     
    9090   * Read data from the device into the buffer. Return an errno
    9191   * error number if the data cannot be read.
    92    * 
     92   *
    9393   * @param device The device to read data from.
    9494   * @param flags Device specific flags for the driver.
     
    100100   * @retval EIO The read did not complete.
    101101   */
    102   int (*read) (uint32_t device, uint32_t flags, uint32_t base, 
     102  int (*read) (uint32_t device, uint32_t flags, uint32_t base,
    103103               uint32_t offset, void* buffer, uint32_t size);
    104104
     
    106106   * Write data from the buffer to the device. Return an errno
    107107   * error number if the device cannot be written to.
    108    * 
     108   *
    109109   * @param device The device to write data to.
    110110   * @param flags Device specific flags for the driver.
     
    116116   * @retval EIO The write did not complete or verify.
    117117   */
    118   int (*write) (uint32_t device, uint32_t flags, uint32_t base, 
     118  int (*write) (uint32_t device, uint32_t flags, uint32_t base,
    119119                uint32_t offset, const void* buffer, uint32_t size);
    120120
     
    122122   * Verify data in the buffer to the data in the device. Return an
    123123   * errno error number if the device cannot be read or the data verified.
    124    * 
     124   *
    125125   * @param device The device to verify the data with.
    126126   * @param flags Device specific flags for the driver.
  • cpukit/libblock/include/rtems/ramdisk.h

    r309dbd0 r33c3b54d  
    171171 *   ramdisk *rd = NULL;
    172172 *   dev_t dev = 0;
    173  * 
     173 *
    174174 *   sc = rtems_io_register_driver(0, &ramdisk_ops, &major);
    175175 *   if (sc != RTEMS_SUCCESSFUL) {
    176176 *     return RTEMS_UNSATISFIED;
    177177 *   }
    178  * 
     178 *
    179179 *   rd = ramdisk_allocate(NULL, block_size, block_count, false);
    180180 *   if (rd == NULL) {
    181181 *     rtems_io_unregister_driver(major);
    182  * 
     182 *
    183183 *     return RTEMS_UNSATISFIED;
    184184 *   }
    185  * 
     185 *
    186186 *   dev = rtems_filesystem_make_dev_t(major, 0);
    187  * 
     187 *
    188188 *   sc = rtems_disk_create_phys(
    189189 *     dev,
     
    197197 *     ramdisk_free(rd);
    198198 *     rtems_io_unregister_driver(major);
    199  * 
     199 *
    200200 *     return RTEMS_UNSATISFIED;
    201201 *   }
    202  * 
     202 *
    203203 *   return RTEMS_SUCCESSFUL;
    204204 * }
Note: See TracChangeset for help on using the changeset viewer.