Changes between Version 23 and Version 24 of DsxDocumentation


Ignore:
Timestamp:
Feb 29, 2008, 6:42:54 PM (16 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DsxDocumentation

    v23 v24  
    115115 1.  update the status of the MWMR and release the lock (4-words WRITE access).
    116116
    117 Any data transfer to or from a MWMR channel mut be an integer number of items. The item width is an
    118 intrinsic property of the channel. It is defined as a number of bytes, and it defines the channel ''width''.
     117Any data transfer to or from a MWMR channel mut be an integer number of items. The item is a number
     118of bytes, and defines the channel ''width''.
    119119The channel ''depth'' is a number of items, and defines the total channel capacity.
    120 For performances reasons the channel ''width'' itself must be a multiple of 4 bytes.
     120For performances reasons the channel ''width'' must be a multiple of 4 bytes.
    121121{{{ 
    122122my_channel = Mwmr( 'channel_name', width, depth )
     
    343343# For a MWMR channel, 4 software elements must be placed
    344344my_mapper.map( my_channel, 
    345         status = 'data0',  # The channel status is placed in segment seg_data
    346         desc = 'data1', # The channel descriptor is placed in segment seg_readonly
    347         buffer = 'data1' ) # The channel buffer is placed in segment seg_data
     345        status = 'data0',  # The channel status is placed in segment data0
     346        desc = 'data1', # The channel descriptor is placed in segment data1
     347        buffer = 'data2' ) # The channel buffer is placed in segment data2
    348348
    349349# for a software task, 4 software objects must be placed
    350350my_mappe.map( my_task,
    351         desc = 'data0',  # The task descriptor is placed in segment seg_readonly
    352         status = 'data1',  # The task state is placed in segment seg_data
    353         stack = 'data0',   # The private task stack  is placed in segment seg_stack
    354         run = 'proc0' )   # task will be running on processor no 0
     351        desc = 'data0',  # The task descriptor is placed in segment data0
     352        status = 'data1',  # The task state is placed in segment data1
     353        stack = 'data2',   # The private task stack  is placed in segment data2
     354        run = 'proc0' )   # task will be running on processor proc0
    355355}}}
    356356