Dynamic Memory Usage - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

Advanced Configuration
• Data Flow Method Assigned: The data flow method of the PID
must be set to
mand-value pair:
{ADI_DEV_CMD_SET_DATAFLOW_METHOD,(void *)
ADI_DEV_MODE_CHAINED}
• Configured: In addition to setting the data flow method, the PID
should be configured at the very least with the commands defined
in the command table whose location is given by the
member of the appropriate device definition structure.
Registration of the PID can either be accomplished by passing the follow-
ing command-value pair to
{ADI_FSS_CMD_REGISTER_DEVICE,(void *)&ADI_ATAPI_Def}
or by using the
{adi_fss_RegisterDevice(&ADI_ATAPI_Def,1);
For further details, see the definition of this function in the section
System Service API Reference" on page

Dynamic Memory Usage

In a departure from other system services and device drivers, the file sys-
tem service makes extensive use of dynamically-allocated memory for
internal data structures and DMA buffers.
This is largely due to the somewhat arbitrary and indeterminate nature of
the memory requirements associated with file systems, where buffer sizes
depend on the media present and the file system used. The use of dynamic
memory within all parts of the FSS framework frees the application devel-
oper from having to estimate the amount of memory required at build
time.
12-14
ADI_DEV_MODE_CHAINED
adi_fss_Control
adi_fss_RegisterDevice
VisualDSP++ 5.0 Device Drivers and System
with the following com-
:
function:
12-18.
Services Manual for Blackfin Processors
pConfigTable
"File

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents