Ignore:
Timestamp:
Feb 4, 2014, 2:16:37 AM (11 years ago)
Author:
cfuguet
Message:

Modifications on GIET-VM IOC driver:

  • Introducing new layer on the IOC driver. Every call to ioc_read, ioc_write, ioc_get_block_size or ioc_init

functions will call the specific driver of the used IOC
controller. Supported IOC controllers are (for now) :

  1. BDV (Soclib Block Device)
  2. HBA
  3. SPI (SDCARD - SPI controller)
  • All functions of IOC controllers drivers respect the same interface.
  • To specify the used IOC controller of the platform, a subtype field has been introduced on the map.xml file. This subtype field must be declared on the IOC periph instantiation. Available subtypes (for now) : BDV, HBA or SPI.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/mappings/4c_1p_sort.xml

    r287 r289  
    5050            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "1"  />
    5151            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
    52             <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  />
    53             <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "5" />
     52            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  subtype = "BDV" />
     53            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "9" />
    5454            <periph type = "NIC"  psegname = "PSEG_NIC"  channels = "2"  />
    5555            <periph type = "CMA"  psegname = "PSEG_CMA"  channels = "4"  />
     
    126126        </vseg>
    127127        <vseg name = "seg_boot_buffer"    vbase = "0x00040000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
    128             <vobj name = "boot_buffer"    type = "BUFFER" length = "0x00020000" />
    129         </vseg>
    130         <vseg name = "seg_boot_stack"     vbase = "0x00060000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
     128            <vobj name = "boot_buffer"    type = "BUFFER" length = "0x00080000" />
     129        </vseg>
     130        <vseg name = "seg_boot_stack"     vbase = "0x000C0000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
    131131            <vobj name = "boot_stack"     type = "BUFFER" length = "0x00090000" />
    132132        </vseg>
Note: See TracChangeset for help on using the changeset viewer.