Changes between Version 6 and Version 7 of SrlApi


Ignore:
Timestamp:
Feb 7, 2007, 11:31:45 AM (17 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SrlApi

    v6 v7  
    2727 * {{{srl_mwmr_t channel = GET_ARG(port_name)}}} defines a local variable associated to a MWMR channel acces port. The {{{port_name}}} argument corresponds to the port name defined in the task model defined in the DSX description.
    2828
    29  * {{{srl_mwmr_read(fifo, buffer, size)}}} reads {{{size}}} 32-bit words from fifo to buffer. {{{size}}} must be a multiple of fifo width.
    30  * {{{srl_mwmr_write(fifo, buffer, size)}}} writes {{{size}}} 32-bit words from buffer to fifo. {{{size}}} must be a multiple of fifo width.
     29 * {{{srl_mwmr_read(channel, local_buffer, size)}}} reads {{{size}}} 32-bit words from the MWMR channel to the local buffer. The {{{local_buffer}}} argument is a {{{void*}}}. The {{{size}}} argument must be a multiple of the channel width.
     30
     31 * {{{srl_mwmr_write(channel, local_buffer, size)}}} writes {{{size}}} 32-bit words from the local buffer to the MWMR channel. The {{{local_buffer}}} argument is a {{{void*}}}. The {{{size}}} argument must be a multiple of fifo width.
    3132
    3233== Locks ==