Changes between Version 10 and Version 11 of TBR/UserManual/Using_the_RTEMS_DOS_File_System


Ignore:
Timestamp:
Oct 22, 2008, 4:53:52 AM (12 years ago)
Author:
ChrisJohns
Comment:

Add handler doco.

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/Using_the_RTEMS_DOS_File_System

    v10 v11  
    211211The NV Disk device requires a set of handlers for each type of device. The handles can manage more than one device in a disk or disks. The handlers are:
    212212
    213 {{{int (*read) (uint32_t device, uint32_t flags, uint32_t base, uint32_t offset, void* buffer, uint32_t size);</code>
     213  {{{int (*read) (uint32_t device, uint32_t flags, uint32_t base, uint32_t offset,
     214                     void* buffer, uint32_t size);</code>
     215 : Read a block of data from the {{{offset</code> in the {{{device</code> with the {{{base</code> address to the provided {{{buffer</code>.
     216
     217  {{{int (*write) (uint32_t device, uint32_t flags, uint32_t base, uint32_t offset,
     218                      const void* buffer, uint32_t size);</code>
     219 : Write a block of data to the {{{offset</code> in the {{{device</code> with the {{{base</code> address from the provided {{{buffer</code>.
     220
     221  {{{int (*verify) (uint32_t device, uint32_t flags, uint32_t base, uint32_t offset,
     222                       const void* buffer, uint32_t size);</code>
     223 : Verify a block of data provided in {{{buffer</code> against to the data at the {{{offset</code> in the {{{device</code> with this {{{base</code> address.
    214224
    215225The <tt>nvdisk-sram.h</tt> provides a set of handlers suitable for static RAM.