Changes between Version 13 and Version 14 of SrlApi


Ignore:
Timestamp:
Mar 11, 2009, 11:51:50 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SrlApi

    v13 v14  
    1515 * {{{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/L description.
    1616
    17  * {{{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, and the the channel width must be a multiple of 4 bytes.
     17 * {{{srl_mwmr_read(channel, local_buffer, size)}}} reads ''size'' bytes 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, and the the channel width must be a multiple of 4 bytes.
    1818
    19  * {{{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 the channel width, and the channel width must be a multiple of 4 bytes.
     19 * {{{srl_mwmr_write(channel, local_buffer, size)}}} writes ''size'' bytes from the local buffer to the MWMR channel. The ''local_buffer'' argument is a void*. The ''size'' argument must be a multiple of the channel width, and the channel width must be a multiple of 4 bytes.
    2020
    2121== Locks ==