Message Queues
Input/Output Methods
6-21
Note:
This document does not discuss how to write an allocator.
Information about designing allocators and transports will be provided in a
future document.
An application can use multiple allocators. The purpose of having multiple
allocators is to allow an application to regulate its message usage. For
example, an application can allocate critical messages from one pool of fast
on-chip memory and non-critical messages from another pool of slower
external memory.
6.5.4
Transports
The job of the transport is to communicate across a physical link to another
processor. The transport interface allows you to change the underlying
communication mechanism without changing the application (except for the
configuration of the transport).
A transport is an instance of an implementation of the transport interface.
There is an array of transports on each processor. There is at most one
transport between any two processors. This array is based on processor IDs.
So the first element (the 0th index) of the transport array on each processor
contains the transport to processor 0. On processor 0, the first element is a
MSGQ_NOTRANSPORT transport that is never used.
For example, consider the system shown in the following figure, in which
three processors are running DSP/BIOS. The transports are indicated by the
arrows.
Figure 6-6.
Transports in a Multi-Processor Example
Processor 0
Processor 1
Processor 2
Shared memory-based
transports
HPI-based
transports
DMA-based
transports
Transport
array
Transport
array
Transport
array
Summary of Contents for TMS320 Series
Page 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Page 16: ...xvi ...
Page 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Page 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Page 202: ...5 20 ...
Page 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Page 288: ...Index 10 Index ...