Changes between Version 3 and Version 4 of DsxvmSRL_API
- Timestamp:
- Oct 22, 2012, 11:18:17 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DsxvmSRL_API
v3 v4 15 15 == Mwmr Communication Channels == 16 16 17 * {{{srl_mwmr_t channel = GET_MWMR(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.17 * {{{srl_mwmr_t channel = SRL_GET_MWMR(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. 18 18 19 19 * {{{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. … … 23 23 == Locks == 24 24 25 * {{{srl_lock_t lock = GET_LOCK(port_name)}}} defines a local variable associated to a lock. The ''port_name'' argument corresponds to the port name defined in the task model defined in the DSX/L description.25 * {{{srl_lock_t lock = SRL_GET_LOCK(port_name)}}} defines a local variable associated to a lock. The ''port_name'' argument corresponds to the port name defined in the task model defined in the DSX/L description. 26 26 27 27 * {{{srl_lock_lock( lock )}}} takes a lock, waiting if necessary … … 30 30 == Barriers == 31 31 32 * {{{srl_barrier_t barrier = GET_BARRIER(port_name)}}} defines a local variable associated to a barrier. The ''port_name'' argument corresponds to the port name defined in the task model defined in the DSX/L description.32 * {{{srl_barrier_t barrier = SRL_GET_BARRIER(port_name)}}} defines a local variable associated to a barrier. The ''port_name'' argument corresponds to the port name defined in the task model defined in the DSX/L description. 33 33 34 34 * {{{srl_barrier_wait( barrier )}}} waits for a barrier-global synchronization