Changes between Version 5 and Version 6 of bdv_driver


Ignore:
Timestamp:
Oct 9, 2014, 3:18:11 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • bdv_driver

    v5 v6  
    33[[PageOutline]]
    44
    5 The [source:soft/giet_vm/giet_drivers/bdv_driver.c bdv_driver.c] and [source:soft/giet_vm/giet_drivers/bdv_driver.h bdv_driver.h] files define the block_device driver. This component is a single channel, block oriented, external mass storage peripheral, available in the SoCLib components library.
     5The [source:soft/giet_vm/giet_drivers/bdv_driver.c bdv_driver.c] and [source:soft/giet_vm/giet_drivers/bdv_driver.h bdv_driver.h] files define the BDV driver.
     6
     7This component is a single channel, block oriented, external mass storage peripheral, available in the SoCLib components library.
     8
     9It is one of the physical disk driver that can be called by the generic IOC driver, and the SEG_IOC_BASE address must be defined in the hard_config.h file.
    610
    711The _bdv_read() and _bdv_write() functions are always blocking. They can be called in 3 modes:
     
    1923An error code is returned if these conditions are not verified.
    2024
    21 The SEG_IOC_BASE address must be defined in the hard_config.h file.
     25The addressable registers map is defined [source:soft/giet_vm/giet_drivers/bdv_driver.h here].
    2226
     27
     28 
    2329 === unsigned int '''_bdv_init'''() ===
    2430This function cheks block size == 512, and desactivates the interrupts.